Ignore:
Timestamp:
Mar 11, 2007, 11:43:15 AM (18 years ago)
Author:
cinc
Message:

Improvements for the documentation.

File:
1 edited

Legend:

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

    r210 r250  
    1616* The Initial Developer of the Original Code is
    1717* netlabs.org: Chris Wohlgemuth <cinc-ml@netlabs.org>.
    18 * Portions created by the Initial Developer are Copyright (C) 2005-2006
     18* Portions created by the Initial Developer are Copyright (C) 2005-2007
    1919* the Initial Developer. All Rights Reserved.
    2020*
     
    7373} nomClassDataStructure, *NomClassDataStructurePtr;
    7474
     75typedef struct nomParmInfoStruct {
     76  gulong ulNumParms;  /* The number of parameters for this method */
     77  gchar* pReturnType;
     78  gchar* pParm[];    /* Parameter types */
     79}nomParmInfo;
     80
     81/**
     82   This structure defines the method introduced by a class. The IDL compiler
     83   puts an array of such structs into the *.ih file which is used by the NOM
     84   kernel to build the class.
     85 */
    7586typedef struct nomStaticMethodDescStruct {
    76   nomMToken *nomMAddressInClassData;
    77   nomID nomMethodId;
    78   char** chrMethodDescriptor;
    79   nomMethodProc *nomMethod;
     87  nomMToken *nomMAddressInClassData; /* Method token in class data struct */
     88  nomID nomMethodId;          /* This is a 'gchar**' pointing to something like
     89                                 "wpQueryContainerHandle" */
     90  char** chrMethodDescriptor; /* This points to something like:
     91                                 "WPFolderWindow:wpQueryContainerHandle" */
     92  nomMethodProc *nomMethod;   /* Address of the function implementing this
     93                                 method. */
     94  nomParmInfo  *pParamInfo;   /* Information about the parameter types */
    8095} nomStaticMethodDesc;
    8196
     97/**
     98   Structure describing an overriden method. An array of these structures
     99   is put into the *.ih file.
     100 */
    82101typedef struct nomOverridenMethodDescStruct {
    83102  nomID nomMethodId;
Note: See TracChangeset for help on using the changeset viewer.