E
Ellarco
``Opaque-pointer representing the ID of an object.
struct _objID;
typedef struct _objID * objectID;''
Hi again. Im using an api that defines an objectID type. The above
represents the
extent of the documentation on it.
The above means that objectID is defined as a pointer to an as yet undefined
class/struct _objID, and, if I understand the term correctly, is opaque in
so far as the actual nature of the _objID class/struct is as yet unknown,
yeah?
My problem is that I need to statically determine the size of an objectID. I
need to now that it occupies the same amount of space as 1,2,3... chars, but
without using sizeof(objectID). Is it possible? I was thinking that it might
be the same size as char* or something convenient like that.
TIA
struct _objID;
typedef struct _objID * objectID;''
Hi again. Im using an api that defines an objectID type. The above
represents the
extent of the documentation on it.
The above means that objectID is defined as a pointer to an as yet undefined
class/struct _objID, and, if I understand the term correctly, is opaque in
so far as the actual nature of the _objID class/struct is as yet unknown,
yeah?
My problem is that I need to statically determine the size of an objectID. I
need to now that it occupies the same amount of space as 1,2,3... chars, but
without using sizeof(objectID). Is it possible? I was thinking that it might
be the same size as char* or something convenient like that.
TIA