define_instantiation_functions.h File Reference

Go to the source code of this file.

Defines

#define def_generic(fn, name)   Generic fn##_gf (_M("%"#name), &Value::fn##_vf)
#define def_visible_generic(fn, name)   Generic fn##_gf (_M(name), &Value::fn##_vf)
#define def_struct_generic(fn, _struct, name)   Generic fn##_gf (_M(name), &Value::fn##_vf, _M(#_struct))
#define def_node_generic(fn, name)   NodeGeneric fn##_gf (_M(name), &Value::fn##_vf)
#define def_mapped_generic(fn, name)   MappedGeneric fn##_gf (_M(name), &Value::fn##_vf)
#define use_generic(fn, name)
#define def_generic_debug_ok(fn, name)   Generic fn##_gf (_M("%"#name), &Value::fn##_vf, NULL, DEBUGGER_SAFE)
#define def_visible_generic_debug_ok(fn, name)   Generic fn##_gf (_M(name), &Value::fn##_vf, NULL, DEBUGGER_SAFE)
#define def_struct_generic_debug_ok(fn, _struct, name)   Generic fn##_gf (_M(name), &Value::fn##_vf, _M(#_struct), DEBUGGER_SAFE)
#define def_node_generic_debug_ok(fn, name)   NodeGeneric fn##_gf (_M(name), &Value::fn##_vf, DEBUGGER_SAFE)
#define def_mapped_generic_debug_ok(fn, name)   MappedGeneric fn##_gf (_M(name), &Value::fn##_vf, DEBUGGER_SAFE)
#define def_primitive(fn, name)
#define def_visible_primitive(fn, name)
#define def_struct_primitive(fn, _struct, name)
#define def_mapped_primitive(fn, name)
#define def_lazy_primitive(fn, name)
#define def_visible_lazy_primitive(fn, name)
#define def_primitive_debug_ok(fn, name)
#define def_visible_primitive_debug_ok(fn, name)
#define def_struct_primitive_debug_ok(fn, _struct, name)
#define def_mapped_primitive_debug_ok(fn, name)
#define def_lazy_primitive_debug_ok(fn, name)
#define def_visible_lazy_primitive_debug_ok(fn, name)
#define def_property(p)   _M(#p), &Value::get_##p, &Value::set_##p,
#define def_property_alias(p, real_p)   _M(#p), &Value::get_##real_p, &Value::set_##real_p,
#define def_2_prop_path(p1, p2)   _M(#p1"."#p2), &Value::get_##p1##_##p2, &Value::set_##p1##_##p2,
#define def_2_prop_path_alias(p1, p2, real_p1, real_p2)   _M(#p1"."#p2), &Value::get_##real_p1##_##real_p2, &Value::set_##real_p1##_##real_p2,
#define def_nested_prop(p1)   _M("*."#p1), &Value::get_nested_##p1, &Value::set_nested_##p1,
#define def_nested_prop_alias(p1, real_p1)   _M("*."#p1), &Value::get_nested_##real_p1, &Value::set_nested_##real_p1,
#define def_name(name)   ScripterExport Value* n_##name;
#define def_marker(var, str)   ScripterExport Name var (_M(str));

Define Documentation

#define def_generic (   fn,
  name 
)    Generic fn##_gf (_M("%"#name), &Value::fn##_vf)
#define def_visible_generic (   fn,
  name 
)    Generic fn##_gf (_M(name), &Value::fn##_vf)
#define def_struct_generic (   fn,
  _struct,
  name 
)    Generic fn##_gf (_M(name), &Value::fn##_vf, _M(#_struct))
#define def_node_generic (   fn,
  name 
)    NodeGeneric fn##_gf (_M(name), &Value::fn##_vf)
#define def_mapped_generic (   fn,
  name 
)    MappedGeneric fn##_gf (_M(name), &Value::fn##_vf)
#define use_generic (   fn,
  name 
)
#define def_generic_debug_ok (   fn,
  name 
)    Generic fn##_gf (_M("%"#name), &Value::fn##_vf, NULL, DEBUGGER_SAFE)
#define def_visible_generic_debug_ok (   fn,
  name 
)    Generic fn##_gf (_M(name), &Value::fn##_vf, NULL, DEBUGGER_SAFE)
#define def_struct_generic_debug_ok (   fn,
  _struct,
  name 
)    Generic fn##_gf (_M(name), &Value::fn##_vf, _M(#_struct), DEBUGGER_SAFE)
#define def_node_generic_debug_ok (   fn,
  name 
)    NodeGeneric fn##_gf (_M(name), &Value::fn##_vf, DEBUGGER_SAFE)
#define def_mapped_generic_debug_ok (   fn,
  name 
)    MappedGeneric fn##_gf (_M(name), &Value::fn##_vf, DEBUGGER_SAFE)
#define def_primitive (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M("%"#name), fn##_cf)

Definition at line 80 of file define_instantiation_functions.h.

#define def_visible_primitive (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M(name), fn##_cf)

Definition at line 83 of file define_instantiation_functions.h.

#define def_struct_primitive (   fn,
  _struct,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M(name), _M(#_struct), fn##_cf)

Definition at line 86 of file define_instantiation_functions.h.

#define def_mapped_primitive (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    MappedPrimitive fn##_pf (_M(name), fn##_cf)

Definition at line 89 of file define_instantiation_functions.h.

#define def_lazy_primitive (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M("%"#name), fn##_cf, LAZY_PRIMITIVE)

Definition at line 92 of file define_instantiation_functions.h.

#define def_visible_lazy_primitive (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M(name), fn##_cf, LAZY_PRIMITIVE)

Definition at line 95 of file define_instantiation_functions.h.

#define def_primitive_debug_ok (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M("%"#name), fn##_cf, DEBUGGER_SAFE)

Definition at line 99 of file define_instantiation_functions.h.

#define def_visible_primitive_debug_ok (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M(name), fn##_cf, DEBUGGER_SAFE)

Definition at line 102 of file define_instantiation_functions.h.

#define def_struct_primitive_debug_ok (   fn,
  _struct,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M(name), _M(#_struct), fn##_cf, DEBUGGER_SAFE)

Definition at line 105 of file define_instantiation_functions.h.

#define def_mapped_primitive_debug_ok (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    MappedPrimitive fn##_pf (_M(name), fn##_cf, DEBUGGER_SAFE)

Definition at line 108 of file define_instantiation_functions.h.

#define def_lazy_primitive_debug_ok (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M("%"#name), fn##_cf, LAZY_PRIMITIVE | DEBUGGER_SAFE)

Definition at line 111 of file define_instantiation_functions.h.

#define def_visible_lazy_primitive_debug_ok (   fn,
  name 
)
Value:
Value* fn##_cf(Value**,int);                                        \
    Primitive fn##_pf (_M(name), fn##_cf, LAZY_PRIMITIVE | DEBUGGER_SAFE)

Definition at line 114 of file define_instantiation_functions.h.

#define def_property (   p)    _M(#p), &Value::get_##p, &Value::set_##p,
#define def_property_alias (   p,
  real_p 
)    _M(#p), &Value::get_##real_p, &Value::set_##real_p,
#define def_2_prop_path (   p1,
  p2 
)    _M(#p1"."#p2), &Value::get_##p1##_##p2, &Value::set_##p1##_##p2,
#define def_2_prop_path_alias (   p1,
  p2,
  real_p1,
  real_p2 
)    _M(#p1"."#p2), &Value::get_##real_p1##_##real_p2, &Value::set_##real_p1##_##real_p2,
#define def_nested_prop (   p1)    _M("*."#p1), &Value::get_nested_##p1, &Value::set_nested_##p1,
#define def_nested_prop_alias (   p1,
  real_p1 
)    _M("*."#p1), &Value::get_nested_##real_p1, &Value::set_nested_##real_p1,
#define def_name (   name)    ScripterExport Value* n_##name;
#define def_marker (   var,
  str 
)    ScripterExport Name var (_M(str));