View Single Post

Old 07-24-2008, 01:58 PM   #12 (permalink)
zev
Banned

Deviant
 
Join Date: Nov 2007
Posts: 76
zev is on a distinguished road
Default

Quote:
Originally Posted by Dyndrilliac View Post
Actually, it's a byte pointer (a pointer to a byte).
No, I don't think it is.

Blizzard most likely did it like this:

Code:
typedef struct tStructure {
        // Members
} STRUCTURE, *PSTRUCTURE;
 
PSTRUCTURE g_pStructure = ( PSTRUCTURE )malloc( sizeof( STRUCTURE ));
zev 15 0FF11|\|3   Reply With Quote