From 31bea142ed9d4b0f320ea46fa86372392ab2da19 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 6 Feb 2019 20:35:46 +0000 Subject: Gem 095a8d03d64b3263805ecbbcca479581b8c246a7 linux/amd64 built 'master:095a8d03d64b3263805ecbbcca479581b8c246a7' for linux/amd64 --- Gem/Gem.pd_linux | Bin 35569367 -> 35619583 bytes Gem/develop/include/Gem/Base/CPPExtern.h | 12 +++++------- Gem/gemglxwindow.pd_linux | Bin 218065 -> 218226 bytes Gem/pix_drum.pd_linux | Bin 93056 -> 97329 bytes Gem/pix_fiducialtrack.pd_linux | Bin 273772 -> 273925 bytes Gem/pix_hit.pd_linux | Bin 68520 -> 68689 bytes Gem/pix_mano.pd_linux | Bin 167778 -> 168779 bytes 7 files changed, 5 insertions(+), 7 deletions(-) (limited to 'Gem') diff --git a/Gem/Gem.pd_linux b/Gem/Gem.pd_linux index 757c808..6f2582c 100755 Binary files a/Gem/Gem.pd_linux and b/Gem/Gem.pd_linux differ 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/gemglxwindow.pd_linux b/Gem/gemglxwindow.pd_linux index 5d1cce5..15121b6 100755 Binary files a/Gem/gemglxwindow.pd_linux and b/Gem/gemglxwindow.pd_linux differ diff --git a/Gem/pix_drum.pd_linux b/Gem/pix_drum.pd_linux index 0899853..f675fa9 100755 Binary files a/Gem/pix_drum.pd_linux and b/Gem/pix_drum.pd_linux differ diff --git a/Gem/pix_fiducialtrack.pd_linux b/Gem/pix_fiducialtrack.pd_linux index 67f0e4a..d3d96a6 100755 Binary files a/Gem/pix_fiducialtrack.pd_linux and b/Gem/pix_fiducialtrack.pd_linux differ diff --git a/Gem/pix_hit.pd_linux b/Gem/pix_hit.pd_linux index c9f411c..527ba9f 100755 Binary files a/Gem/pix_hit.pd_linux and b/Gem/pix_hit.pd_linux differ diff --git a/Gem/pix_mano.pd_linux b/Gem/pix_mano.pd_linux index f421d71..fe58824 100755 Binary files a/Gem/pix_mano.pd_linux and b/Gem/pix_mano.pd_linux differ -- cgit v1.2.1