local_implementations.h

Go to the documentation of this file.
00001 /*  
00002  *  local_implementations.h -  generic function implementation macros for MAXScript SDK plug-ins
00003  */
00004 
00005 #include "ClassCfg.h"
00006 
00007 #ifdef def_local_generic
00008 #   undef def_local_generic
00009 #   undef def_local_generic_debug_ok
00010 #   undef use_local_generic
00011 #endif
00012 #ifdef use_generic
00013 #   undef use_generic
00014 #endif
00015 
00016 
00017 #define def_local_generic(fn, name) \
00018     Value* fn##_vf(Value** arglist, int arg_count)
00019 #define def_local_generic_debug_ok(fn, name)    \
00020     Value* fn##_vf(Value** arglist, int arg_count)
00021 #define use_local_generic(fn, name) \
00022     def_local_generic(fn, name)
00023 #define use_generic(fn, name)       \
00024     Value* fn##_vf(Value** arglist, int arg_count)
00025 
00026 #undef def_name
00027 #define def_name(name)  n_##name = Name::intern(_M(#name));     
00028 
00029 
00030