[pypy-svn] r26735 - pypy/dist/pypy/rpython/rctypes/socketmodule

ale at codespeak.net ale at codespeak.net
Wed May 3 18:57:57 CEST 2006


Author: ale
Date: Wed May  3 18:57:56 2006
New Revision: 26735

Modified:
   pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py
Log:
A pointer to c_char_p change

Modified: pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py	(original)
+++ pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py	Wed May  3 18:57:56 2006
@@ -328,7 +328,7 @@
 gethostbyname.restype = POINTER(cConfig.hostent)
 
 gethostbyaddr = socketdll.gethostbyaddr
-gethostbyaddr.argtypes = [POINTER(c_char), c_int, c_int]
+gethostbyaddr.argtypes = [c_char_p, c_int, c_int]
 gethostbyaddr.restype = POINTER(cConfig.hostent)
 
 getservbyname = socketdll.getservbyname



More information about the Pypy-commit mailing list