_CLASSDEF(classname)
What is the use of this code. I came across this in many built in header files but couldn't figure out what it is for.
This command is used at the starting of a file and separately does it for all the classes in the file.
class _CLASSTYPE classname:
and the class definition starts like this. What is that "_CLASSTYPE"?
Thanks
They're macros. We can't tell you what they do without looking that their definition.
IIRC they are from the Borland ObjectWindows library.
I think
_CLASSDEF(classname)
expands to
1 2 3
|
class _CLASSTYPE classname;
typedef classname FAR * PTclassname;
typedef classname ... some more pointers
|
I can't remember what the
_CLASSTYPE is off the top of my head.
Edit:
_CLASSTYPE would probable expand to _export, far or similar depending on what is
#defined.
Last edited on