Roxen.git / server / etc / modules / Variable.pmod / module.pmod

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/module.pmod:1: - // $Id: module.pmod,v 1.30 2000/11/10 23:11:59 per Exp $ + // $Id: module.pmod,v 1.31 2000/11/18 17:31:26 per Exp $      #include <module.h>   #include <roxen.h>      // Locale macros   //<locale-token project="roxen_config"> LOCALE </locale-token>      #define LOCALE(X,Y) \    ([string](mixed)Locale.translate("roxen_config",roxenp()->locale->get(),X,Y))   
Roxen.git/server/etc/modules/Variable.pmod/module.pmod:25:      class Variable   //! The basic variable type in Roxen. All other variable types should   //! inherit this class.   {    constant is_variable = 1;       constant type = "Basic";    //! Mostly used for debug (sprintf( "%O", variable_obj ) uses it)    -  static int _id = unique_vid++; +  int _id = unique_vid++;    // used for indexing the mappings.       static mixed _initial; // default value    static string _path; // used for forms    static string|object __name, __doc;       void destroy()    {    // clean up...    m_delete( all_flags, _id );