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.83 2003/11/17 16:01:36 anders Exp $ + // $Id: module.pmod,v 1.84 2004/02/17 20:15:40 mast 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:221:    //! HTML code to render on.    //!    //! If you return 0 for render=1 as well, no difference will be    //! shown. This is the default.    {    return 0;    }       void destroy()    { +  if (global::this) {    // clean up...    m_delete( all_flags, _id );    m_delete( all_warnings, _id );    m_delete( invisibility_callbacks, _id );    m_delete( changed_values, _id );    } -  +  }       string get_warnings()    //! Returns the current warnings, if any.    {    return all_warnings[ _id ];    }       int get_flags()    //! Returns the 'flags' field for this variable.    //! Flags is a bitwise or of one or more of