It did for me:
from pypy.rpython.rctypes.tool.ctypes_platform import configure, Library
class CConfig:
_header_ = ""
_includes_ = ["windows.h", "gl/gl.h"]
gl = Library("opengl32")
gl = configure(CConfig)["gl"]
glEnd = gl.glEnd
from pypy.rpython.rctypes.tool.ctypes_platform import configure, Library
class CConfig:
_header_ = ""
_includes_ = ["windows.h", "gl/gl.h"]
gl = Library("opengl32")
gl = configure(CConfig)["gl"]
glEnd = gl.glEnd
glEnd.restype = None
def DrawSomething(space):
glEnd()
Thanks!
--
--
Laurent Destriau
_______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
