Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Somehow integrate ruby to the library. That's ... crude, but I don't feel like changi...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 11 Feb 2010 14:24:44 +0000 (14:24 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 11 Feb 2010 14:24:44 +0000 (14:24 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7084 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/simix/smx_context.c

index c2c5b5f..ac7c324 100644 (file)
 #include "xbt/log.h"
 #include "xbt/swag.h"
 #include "private.h"
+#define HAVE_RUBY /* HACK HACK */
+
+#ifdef HAVE_RUBY
+extern void SIMIX_ctx_ruby_factory_init(smx_context_factory_t *factory);
+#endif
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix, "Context switching mecanism");