Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r54893:19cddebe0b37
Date: 2012-05-04 11:20 -0700
http://bitbucket.org/pypy/pypy/changeset/19cddebe0b37/
Log: likewise (u)llong support for CINT backend
diff --git a/pypy/module/cppyy/src/cintcwrapper.cxx
b/pypy/module/cppyy/src/cintcwrapper.cxx
--- a/pypy/module/cppyy/src/cintcwrapper.cxx
+++ b/pypy/module/cppyy/src/cintcwrapper.cxx
@@ -343,6 +343,11 @@
return G__int(result);
}
+long long cppyy_call_ll(cppyy_method_t method, cppyy_object_t self, int nargs,
void* args) {
+ G__value result = cppyy_call_T(method, self, nargs, args);
+ return G__Longlong(result);
+}
+
double cppyy_call_f(cppyy_method_t method, cppyy_object_t self, int nargs,
void* args) {
G__value result = cppyy_call_T(method, self, nargs, args);
return G__double(result);
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit