chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Passing blobs to glGetDoublev in (hacked) OpenGL egg


From: Eduardo Cavazos
Subject: Re: [Chicken-users] Passing blobs to glGetDoublev in (hacked) OpenGL egg
Date: Tue, 24 Feb 2009 04:14:14 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080716 SeaMonkey/1.1.11


Eduardo Cavazos wrote:

What could I change that to such that blobs are allowed as the second
argument?

Jim Ursetto wrote:

void  glGetDoublev( GLenum pname, ___byte_vector params );

(The egg should probably be updated to replace or alias ___blob to
___byte_vector...)

Note: you will receive an incompatible type warning as Chicken will
attempt to pass a char* (the blob) to a function expecting double*
without a cast.  In practice that should not cause a problem.

Thanks Jim!

Ed




reply via email to

[Prev in Thread] Current Thread [Next in Thread]