diff options
-rwxr-xr-x | Gem/Gem.pd_darwin | bin | 5041860 -> 5074852 bytes | |||
-rw-r--r-- | Gem/develop/include/Gem/Base/CPPExtern.h | 12 | ||||
-rwxr-xr-x | Gem/gem_filmAVF.so | bin | 55996 -> 55996 bytes | |||
-rwxr-xr-x | Gem/gem_imageIO.so | bin | 37584 -> 37584 bytes | |||
-rwxr-xr-x | Gem/gem_imageJPEG.so | bin | 49088 -> 49088 bytes | |||
-rwxr-xr-x | Gem/gem_imageSGI.so | bin | 56268 -> 56268 bytes | |||
-rwxr-xr-x | Gem/gem_imageSTB.so | bin | 201256 -> 201256 bytes | |||
-rwxr-xr-x | Gem/gem_imageTIFF.so | bin | 64128 -> 64128 bytes | |||
-rwxr-xr-x | Gem/gem_modelOBJ.so | bin | 97560 -> 97560 bytes | |||
-rwxr-xr-x | Gem/gem_videoAVF.so | bin | 61172 -> 61172 bytes | |||
-rwxr-xr-x | Gem/gemcocoawindow.pd_darwin | bin | 39108 -> 39192 bytes | |||
-rwxr-xr-x | Gem/gemglutwindow.pd_darwin | bin | 41844 -> 41924 bytes | |||
-rwxr-xr-x | Gem/gemmacoswindow.pd_darwin | bin | 38964 -> 39044 bytes | |||
-rwxr-xr-x | Gem/pix_drum.pd_darwin | bin | 25336 -> 25416 bytes | |||
-rwxr-xr-x | Gem/pix_fiducialtrack.pd_darwin | bin | 69040 -> 69120 bytes | |||
-rwxr-xr-x | Gem/pix_hit.pd_darwin | bin | 23356 -> 23432 bytes | |||
-rwxr-xr-x | Gem/pix_mano.pd_darwin | bin | 39584 -> 39660 bytes |
17 files changed, 5 insertions, 7 deletions
diff --git a/Gem/Gem.pd_darwin b/Gem/Gem.pd_darwin Binary files differindex 24947a2..8f65c77 100755 --- a/Gem/Gem.pd_darwin +++ b/Gem/Gem.pd_darwin diff --git a/Gem/develop/include/Gem/Base/CPPExtern.h b/Gem/develop/include/Gem/Base/CPPExtern.h index de320f9..e9190b7 100644 --- a/Gem/develop/include/Gem/Base/CPPExtern.h +++ b/Gem/develop/include/Gem/Base/CPPExtern.h @@ -332,21 +332,19 @@ static void obj_setupCallback(t_class *classPtr); // (registering the class with pd) // a static copy of this class is created at runtime, to actually do the setup-call /////////////////////////////////////////////////////////////////////////////// +typedef void (*t_class_setup)(void); +extern "C" { GEM_EXTERN void gem_register_class_setup(const char*name, t_class_setup); } + #ifdef NO_AUTO_REGISTER_CLASS // if NO_AUTO_REGISTER_CLASS is defined, we will not register the class # define AUTO_REGISTER_CLASS(NEW_CLASS) \ static int NEW_CLASS ## _dummyinstance #else // for debugging we can show the which classes are auto-registering -# if 0 -# define POST_AUTOREGISTER(NEW_CLASS) post("auto-registering: "#NEW_CLASS) -# else -# define POST_AUTOREGISTER(NEW_CLASS) -# endif -# define AUTO_REGISTER_CLASS(NEW_CLASS) \ +# define AUTO_REGISTER_CLASS(NEW_CLASS) \ class NEW_CLASS ## _cppclass { \ public: \ - NEW_CLASS ## _cppclass(void) {POST_AUTOREGISTER(NEW_CLASS); NEW_CLASS ## _setup(); } \ + NEW_CLASS ## _cppclass(void) {gem_register_class_setup(#NEW_CLASS, & NEW_CLASS ## _setup); } \ }; \ static NEW_CLASS ## _cppclass NEW_CLASS ## _instance #endif diff --git a/Gem/gem_filmAVF.so b/Gem/gem_filmAVF.so Binary files differindex 12535cd..3d205d9 100755 --- a/Gem/gem_filmAVF.so +++ b/Gem/gem_filmAVF.so diff --git a/Gem/gem_imageIO.so b/Gem/gem_imageIO.so Binary files differindex 27fbab9..243e425 100755 --- a/Gem/gem_imageIO.so +++ b/Gem/gem_imageIO.so diff --git a/Gem/gem_imageJPEG.so b/Gem/gem_imageJPEG.so Binary files differindex bc6b486..61d5d38 100755 --- a/Gem/gem_imageJPEG.so +++ b/Gem/gem_imageJPEG.so diff --git a/Gem/gem_imageSGI.so b/Gem/gem_imageSGI.so Binary files differindex 1b2fb2c..ed21097 100755 --- a/Gem/gem_imageSGI.so +++ b/Gem/gem_imageSGI.so diff --git a/Gem/gem_imageSTB.so b/Gem/gem_imageSTB.so Binary files differindex b3b026c..c54b92a 100755 --- a/Gem/gem_imageSTB.so +++ b/Gem/gem_imageSTB.so diff --git a/Gem/gem_imageTIFF.so b/Gem/gem_imageTIFF.so Binary files differindex cfa5e2c..d0f1294 100755 --- a/Gem/gem_imageTIFF.so +++ b/Gem/gem_imageTIFF.so diff --git a/Gem/gem_modelOBJ.so b/Gem/gem_modelOBJ.so Binary files differindex 50f45ae..861f959 100755 --- a/Gem/gem_modelOBJ.so +++ b/Gem/gem_modelOBJ.so diff --git a/Gem/gem_videoAVF.so b/Gem/gem_videoAVF.so Binary files differindex 485d68d..bb74559 100755 --- a/Gem/gem_videoAVF.so +++ b/Gem/gem_videoAVF.so diff --git a/Gem/gemcocoawindow.pd_darwin b/Gem/gemcocoawindow.pd_darwin Binary files differindex e11b04a..af824fa 100755 --- a/Gem/gemcocoawindow.pd_darwin +++ b/Gem/gemcocoawindow.pd_darwin diff --git a/Gem/gemglutwindow.pd_darwin b/Gem/gemglutwindow.pd_darwin Binary files differindex 89d971e..85a8d88 100755 --- a/Gem/gemglutwindow.pd_darwin +++ b/Gem/gemglutwindow.pd_darwin diff --git a/Gem/gemmacoswindow.pd_darwin b/Gem/gemmacoswindow.pd_darwin Binary files differindex 70c6955..3a4c1c9 100755 --- a/Gem/gemmacoswindow.pd_darwin +++ b/Gem/gemmacoswindow.pd_darwin diff --git a/Gem/pix_drum.pd_darwin b/Gem/pix_drum.pd_darwin Binary files differindex 69b19e4..201050f 100755 --- a/Gem/pix_drum.pd_darwin +++ b/Gem/pix_drum.pd_darwin diff --git a/Gem/pix_fiducialtrack.pd_darwin b/Gem/pix_fiducialtrack.pd_darwin Binary files differindex 45407ad..75783dc 100755 --- a/Gem/pix_fiducialtrack.pd_darwin +++ b/Gem/pix_fiducialtrack.pd_darwin diff --git a/Gem/pix_hit.pd_darwin b/Gem/pix_hit.pd_darwin Binary files differindex 0a69e13..c42a56f 100755 --- a/Gem/pix_hit.pd_darwin +++ b/Gem/pix_hit.pd_darwin diff --git a/Gem/pix_mano.pd_darwin b/Gem/pix_mano.pd_darwin Binary files differindex 838217d..c829977 100755 --- a/Gem/pix_mano.pd_darwin +++ b/Gem/pix_mano.pd_darwin |