Following up my own message, first let me apologize because I see now
that the typedef solution was already there...

But I do have another (perhaps less foolish) question...

Why do we use a pointer to GLubyte for the procName?  This prevents
the following from compiling on my machine

    int
    test_it()
    {
      void (*tst)() = glGetProcAddressEXT("foo");
    }

I get the error

    cc    -c foo.c -o foo.o
    "foo.c", line 9: warning: argument #1 is incompatible with prototype:
            prototype: pointer to const uchar : "foo.c", line 4
            argument : pointer to char

Shouldn't it take a "GLbyte *" argument, or even perhaps (gasp)
"char *"?

Jim
 ------------------- ---------------------- --------------------
| Jim Cobb          | 540 Arapeen Dr. #100 | [EMAIL PROTECTED]      |
| Parametric        | Salt Lake City, UT   |     (801)-588-4632 |
|  Technology Corp. |           84108-1202 | Fax (801)-588-4650 |
 ------------------- ---------------------- --------------------
The universe is flying apart at the rate of trillions of miles
every year and no one in Washington is doing a thing about it.

Reply via email to