Hi,
not clear how to handle "typedef void* t_handle" cpp declaration in PureBasic?
Would be thankful if with examples.
And difference between "typedef void*" and "typedef void".
typedef void* t_handle
Re: typedef void* t_handle
void is nothing.
void* is a pointer.
void** is a pointer to a pointer.
c ya,
nco2k
void* is a pointer.
void** is a pointer to a pointer.
c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Re: typedef void* t_handle
ThanQ nco2k,
Clear, Understood
Clear, Understood
Re: typedef void* t_handle
Read also the wiki about "typedef"
https://en.wikipedia.org/wiki/Typedef
https://en.wikipedia.org/wiki/Typedef
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: typedef void* t_handle
Very brief information.
I read it and find that link very helpful.
Such Sado-Maso like "typedef struct MyStruct newtype;" from that link brings to mind "Goto" keyword. I walked backwards *.h include files to find out those typedefs.
Anyway, the link You provided made related problems clear. Very big thanks for that.
But it is very useful in manner of macros.
I read it and find that link very helpful.
Such Sado-Maso like "typedef struct MyStruct newtype;" from that link brings to mind "Goto" keyword. I walked backwards *.h include files to find out those typedefs.
Anyway, the link You provided made related problems clear. Very big thanks for that.
But it is very useful in manner of macros.