[squeak-dev] <CDECL kerfuffled on OpenGL. was (Re: OGLUnixX11LE >> glPixelStorei: with:
gettimothy
gettimothy at zoho.com
Sun May 10 19:33:21 UTC 2020
Ok, progress....
SystemNavigation default browseAllSelect: [:m| m pragmas notEmpty] localToPackage: #OpenGL
SystemNavigation default browseAllSelect: [:m| m primitive isZero and: [m pragmas notEmpty]] localToPackage:#OpenGL
Its only showing primitive 120, it doesn't recognize the <apicall:module> as a pragma.
Here is an example of it not being recognized as a pragma vs one that is:
Pragma allNamed:#generated in:FFITestPoint2
Pragma allNamed:#apicall:module: in:OpenGL
Reading the class comment of OGLExtManager now trying to grok what's going wrong. It has some code to rewrite a method behind the scenes.
Whatever is rewriting the methods based on the <apicall:module:> pragma probably cannot see it.
Or, maybe I am completely in the wrong ballpark.
cool code, though. (:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200510/ea62c86c/attachment-0001.html>
More information about the Squeak-dev
mailing list
|