> I have to admit it didn't work for me...<br>
<div><span class="q">
<br></span></div><div>
It did for me:<br>
<br>
from pypy.rpython.rctypes.tool.ctypes_platform import configure, Library<br>
<br>
class CConfig:<br>
_header_ = ""<br>
_includes_ = ["windows.h", "gl/gl.h"]<br>
gl = Library("opengl32")<br>
<br>
gl = configure(CConfig)["gl"]<br>
<br>
glEnd = gl.glEnd</div><div><span class="q"><br>
glEnd.restype = None<br>
<br>
def DrawSomething(space):<br>
glEnd()<br>
<br></span></div><div>Thanks!<br>
<br>
--<br></div><div><span class="sg">
Laurent Destriau</span></div>