Author: Armin Rigo <ar...@tunes.org>
Branch: cffi-1.0
Changeset: r1921:e9ad918c410c
Date: 2015-05-07 16:47 +0200
http://bitbucket.org/cffi/cffi/changeset/e9ad918c410c/

Log:    PyPy tweak

diff --git a/_cffi1/manual.c b/_cffi1/manual.c
--- a/_cffi1/manual.c
+++ b/_cffi1/manual.c
@@ -161,8 +161,9 @@
 }
 #else
 PyMODINIT_FUNC
-_cffi_pypyinit_manual(const struct _cffi_type_context_s **p)
+_cffi_pypyinit_manual(const void *p[])
 {
-    *p = &_cffi_type_context;
+    p[0] = (const void *)0x10000f0;
+    p[1] = &_cffi_type_context;
 }
 #endif
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to