Kind of confused about their usage, I know how to use them in C/C++ (basics anyway) but using them in BlitzMax is another story.
Some code might explain it a little better:
In blitzmax, would that simply be an array of undefined size of type mystruct?
In a little more detail... I have some C code I wrote that I want to port over to BlitzMax. In the code I'm doing the same as above. I'm using malloc to initialize the structs to the size of one 'mystruct'.
Is there an equilavent of that in BlitzMax?
Some code might explain it a little better:
C struct _mystruct { int value; }mystruct; mystruct *structs = 0;
In blitzmax, would that simply be an array of undefined size of type mystruct?
In a little more detail... I have some C code I wrote that I want to port over to BlitzMax. In the code I'm doing the same as above. I'm using malloc to initialize the structs to the size of one 'mystruct'.
Is there an equilavent of that in BlitzMax?