local_external_declarations.h

Go to the documentation of this file.
00001 /*  
00002  *  local_external_declarations.h - abstract generic function definitions for MAXScript SDK plug-ins
00003  *  Currently this file is not used anywhere in max.
00004  */
00005 
00006 #include "ClassCfg.h"
00007 
00008 #ifdef def_local_generic
00009 #   undef def_local_generic
00010 #   undef def_local_generic_debug_ok
00011 #   undef use_local_generic
00012 #endif
00013 #ifdef use_generic
00014 #   undef use_generic
00015 #endif
00016 
00017 
00018 #define def_local_generic(fn, name) \
00019     extern MS_LOCAL_GENERIC_CLASS fn##_gf
00020 #define def_local_generic_debug_ok(fn, name)    \
00021     extern MS_LOCAL_GENERIC_CLASS fn##_gf
00022 #define use_local_generic(fn, name) \
00023     def_local_generic(fn, name)
00024 #define use_generic(fn, name) \
00025     extern Generic fn##_gf
00026 
00027 #undef def_name
00028 #define def_name(name)  extern Value* n_##name;