given a string:
msg=\"hello world\"
How can I define this as a ctypes.c_void_p() data type?
ctypes.c_void_p()
the follo
Something like this? Using ctypes.cast?
ctypes.cast
>>> import ctypes >>> p1= ctypes.c_char_p("hi mom") >>> ctypes.cast( p1, ctypes.c_void_p ) c_void_p(11133300)