[pypy-commit] pypy reflex-support: required link definitions for CINT backend
wlav
noreply at buildbot.pypy.org
Thu Feb 23 01:41:47 CET 2012
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r52785:ac8bc1fdaec0
Date: 2012-02-22 13:40 -0800
http://bitbucket.org/pypy/pypy/changeset/ac8bc1fdaec0/
Log: required link definitions for CINT backend
diff --git a/pypy/module/cppyy/test/stltypes_LinkDef.h b/pypy/module/cppyy/test/stltypes_LinkDef.h
new file mode 100644
--- /dev/null
+++ b/pypy/module/cppyy/test/stltypes_LinkDef.h
@@ -0,0 +1,13 @@
+#ifdef __CINT__
+
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+
+#pragma link C++ class std::vector<int>;
+#pragma link C++ class std::vector<just_a_class>;
+
+#pragma link C++ class just_a_class;
+#pragma link C++ class stringy_class;
+
+#endif
More information about the pypy-commit
mailing list