Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r63532:cd56cc493b68
Date: 2013-04-19 10:46 -0700
http://bitbucket.org/pypy/pypy/changeset/cd56cc493b68/
Log: fix warning about promote being ignored
diff --git a/pypy/module/cppyy/capi/builtin_capi.py
b/pypy/module/cppyy/capi/builtin_capi.py
--- a/pypy/module/cppyy/capi/builtin_capi.py
+++ b/pypy/module/cppyy/capi/builtin_capi.py
@@ -296,12 +296,11 @@
threadsafe=ts_reflect,
compilation_info=backend.eci,
elidable_function=True)
[email protected]_promote()
[email protected]_promote('1,2,4')
def c_base_offset(space, derived, base, address, direction):
if derived == base:
return 0
return _c_base_offset(derived.handle, base.handle, address, direction)
[email protected]_promote()
def c_base_offset1(space, derived_h, base, address, direction):
return _c_base_offset(derived_h, base.handle, address, direction)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit