pike.git / lib / modules / Search.pmod / Utils.pmod

version» Context lines:

pike.git/lib/modules/Search.pmod/Utils.pmod:1: - // This file is part of Roxen Search - // Copyright © 2001 - 2009, Roxen IS. All rights reserved. - // +    // $Id$ -  + #pike __REAL_VERSION__      #if !constant(report_error)   #define report_error werror   #define report_debug werror   #define report_warning werror   #endif      final constant dont_dump_module=1;      #ifdef SEARCH_DEBUG
pike.git/lib/modules/Search.pmod/Utils.pmod:330:    mapping(string:mixed) get_default_module() {    return ([ "aggregate_mapping":aggregate_mapping,    "aggregate_multiset":aggregate_multiset,    "aggregate":aggregate,    "allocate":allocate,    "`+": `+,    "this_program":0 ]);    }       mixed resolv(string id, void|string fn, void|string ch) { -  throw( ({ sprintf("Found symbol %O while trying to decode Roxen Search " +  throw( ({ sprintf("Found symbol %O while trying to decode Search "    "settings. The database is corrupt or has been "    "tampered with.\n", id),    backtrace() }) );    }    }();       // Decodes a "readable" pike data type to its actual pike value.    private mixed reacodec_decode(string str) {    return compile_string("mixed foo=" + str + ";", 0, compile_handler)()->foo;    }