Ignore:
Timestamp:
Mar 11, 2007, 2:22:39 PM (18 years ago)
Author:
cinc
Message:

Implemented some methods. Bug fixes and documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nom/include/nomapi.h

    r250 r251  
    7373} nomClassDataStructure, *NomClassDataStructurePtr;
    7474
     75/**
     76   Structure describing the parameters of a static method. The information
     77   is used for runtime type information.
     78 */
    7579typedef struct nomParmInfoStruct {
    7680  gulong ulNumParms;  /* The number of parameters for this method */
    7781  gchar* pReturnType;
    78   gchar* pParm[];    /* Parameter types */
     82  gchar* pParm[];     /* Parameter types */
    7983}nomParmInfo;
    8084
     
    141145#define NOM_FLG_NOMUNINIT_OVERRIDEN  0x00000002
    142146
    143 /* This structure holds additional informationen about class not to be found in nomMethodTab.
     147/* This structure holds additional informationen about a class not to be found in nomMethodTab.
    144148   It holds the default method table of the class and the thunking code necessary to access
    145    data and methods.
     149   data and methods. Note that the name may be slightly misleading. This structure is not
     150   limited to objects/classes which are related to NOMClass. It's a structure used by every NOM
     151   class (be it a normal class or a meta class).
    146152*/
    147153typedef struct
    148154{
    149155  nomMethodTab  *mtab;                  /* This is the mtab for this class it points to thisMtab at the
    150                                            end (not mtab for objects created by this meta class)          */
     156                                           end. This is not an mtab for objects created by a meta class.
     157                                           Meta classes store the pointer to a NOMClassPriv which specify
     158                                           the objects they may create in a private instance variable.    */
    151159  gulong            ulClassSize;        /* The size of an instance (mtab+ instance vars)                  */
    152160  gulong        ulPrivClassSize;        /* The size of this private struct including mtab (not pointr but
    153161                                           real filled structure. Do we need this?                         */
    154   // gulong        ulIsMetaClass;          /* Set to 1 if this is a metaclass                                 */
    155162  gulong        ulClassFlags;           /* Set to 1 if this is a metaclass                                 */
    156163  nomStaticClassInfo *sci;              /* Class description                                               */
     164  /* FIXME: the following list may be obsolete maybe when we just use the parentMtabStruc??                */
    157165  nomMethodTabList mtabList;            /* The (private) internal list of mtabs we maintain
    158166                                           struct nomMethodTabList {
Note: See TracChangeset for help on using the changeset viewer.