[squeak-dev] <CDECL kerfuffled on OpenGL. was (Re: OGLUnixX11LE >> glPixelStorei: with:

Vanessa Freudenberg vanessa at codefrau.net
Sun May 10 23:33:26 UTC 2020


On Sun, May 10, 2020 at 3:21 PM gettimothy via Squeak-dev <
squeak-dev at lists.squeakfoundation.org> wrote:

> ---- On Sun, 10 May 2020 16:04:35 -0400 *Levente Uzonyi
> <leves at caesar.elte.hu <leves at caesar.elte.hu>>* wrote ----
>
>
> FFI calls are not pragmas. They support different syntax, so they are
> language extensions.
>
>
> Levente
>
>
>
>
> thx,
>
> makes sense. in terms of FFI the <generated> is just documentation/marker
> stuff for use by the FFI test . Those classes, themselves are not Tests.
>
>
> Here is my current thinking, there are x possiblities.
>
> .
>
> possibility 1. The <apicall:module> is a marker/tag used by "something" to
> insert platform specific method code . I see this approach  in
> OGLExtManager loadExtension:
> in this possibility, then the fact that it is not recognized as a Pragma
> would explain the failure to replace the code.
>
> possiblity 2. the <apicall:module:> is an actual call
> if this is the case, it does not work, and I need a butt-simple library
> call to test this possibility.
> Or, I need to find all existing <apicall:module:>  methods and see if they
> work.
>
> thank you for your time
>


As we mentioned before, get the plain FFI test working before you try
*anything* with OpenGL.

- Vanessa -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200510/9743d324/attachment.html>


More information about the Squeak-dev mailing list