[pypy-commit] pypy reflex-support: required link definitions for CINT

wlav noreply at buildbot.pypy.org
Thu Feb 23 01:41:42 CET 2012


Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r52781:3061664dc973
Date: 2012-02-22 13:37 -0800
http://bitbucket.org/pypy/pypy/changeset/3061664dc973/

Log:	required link definitions for CINT

diff --git a/pypy/module/cppyy/test/overloads_LinkDef.h b/pypy/module/cppyy/test/overloads_LinkDef.h
new file mode 100644
--- /dev/null
+++ b/pypy/module/cppyy/test/overloads_LinkDef.h
@@ -0,0 +1,25 @@
+#ifdef __CINT__
+
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+
+#pragma link C++ class a_overload;
+#pragma link C++ class b_overload;
+#pragma link C++ class c_overload;
+#pragma link C++ class d_overload;
+
+#pragma link C++ namespace ns_a_overload;
+#pragma link C++ class ns_a_overload::a_overload;
+#pragma link C++ class ns_a_overload::b_overload;
+
+#pragma link C++ class ns_b_overload;
+#pragma link C++ class ns_b_overload::a_overload;
+
+#pragma link C++ class aa_ol;
+#pragma link C++ class cc_ol;
+
+#pragma link C++ class more_overloads;
+#pragma link C++ class more_overloads2;
+
+#endif


More information about the pypy-commit mailing list