Advertisement
nux95

Untitled

Dec 1st, 2011
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. import ctypes
  2. libc   = ctypes.cdll.msvcrt
  3.  
  4. def main():
  5.     obj = object()
  6.  
  7.     libc.printf( '%d\n', ctypes.py_object(obj) )
  8.     print id(obj)
  9.  
  10. main()
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement