spacepaste

  1.  
  2. C:\Users\buildbot\pypy_stuff\cffi>python demo\extern_python.py
  3. _extern_python_cffi.c
  4. Creating library .\Release\_extern_python_cffi.lib and object .\Release\_extern_python_cffi.exp
  5. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  6. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  7. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  8. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  9. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  10. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  11. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  12. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  13. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  14. extern "Python": function f() called, but no code was attached to it yet with @ffi.def_extern(). Returning 0.
  15. Traceback (most recent call last):
  16. File "demo\extern_python.py", line 26, in <module>
  17. assert lib.my_algo(10) == 0+1+4+9+16+25+36+49+64+81
  18. AssertionError
  19. C:\Users\buildbot\pypy_stuff\cffi>python
  20. Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32
  21. Type "help", "copyright", "credits" or "license" for more information.
  22.