Ignore:
Timestamp:
03/22/16 01:19:47 (7 years ago)
Author:
Maciej Komosinski
Message:

Accessing const objects, short -> paInt, less critical messages when not necessary, accessing dictionaries with "->"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/param.h

    r393 r478  
    3333#define PARAM_DEPRECATED  8192  //< this member is deprecated
    3434#define PARAM_LINECOMMENT 16384 //< Param::load() adds "@line ..." comment when loading multiline (internal use)
     35#define PARAM_OBJECTSET 32768   //< setting this field is handled by the object's assign(...) function and cannot change the object reference
    3536
    3637typedef int32_t paInt;
     
    216217{
    217218        const char *id;
    218         short group, flags;
     219        paInt group, flags;
    219220        const char *name, *type;
    220221        intptr_t offset;
     
    227228{
    228229public:
    229         ParamEntryConstructor(const char *_id, short _group = 0, short _flags = 0, const char *_name = 0, const char *_type = 0, intptr_t _offset = 0, void *_fun1 = 0, void *_fun2 = 0, const char *_help = 0)
     230        ParamEntryConstructor(const char *_id, paInt _group = 0, paInt _flags = 0, const char *_name = 0, const char *_type = 0, intptr_t _offset = 0, void *_fun1 = 0, void *_fun2 = 0, const char *_help = 0)
    230231        {
    231232                id = _id; group = _group; flags = _flags; name = _name; type = _type; offset = _offset; fun1 = _fun1; fun2 = _fun2; help = _help;
Note: See TracChangeset for help on using the changeset viewer.