Ignore:
Timestamp:
Mar 25, 2007, 8:49:46 PM (18 years ago)
Author:
cinc
Message:

Code cleanups. Started H file emitter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/include/parser.h

    r271 r272  
    4040void printToken(GTokenType token);
    4141gboolean matchNextKind(guint uiKind);
    42 
    43 /* In printdata.c */
    44 void printInterface(void);
    4542
    4643
     
    10198}SYMBOL, *PSYMBOL;
    10299
    103 /* Such a struct can be found in GScanner->user_data */
    104 typedef struct
    105 {
    106   guint     _uiCurSymbolKind;
    107 }SYMBOLINFO,*PSYMBOLINFO;
    108 
    109100typedef struct
    110101{
     
    112103  guint     uiCurSymbolKind;     /* This may be e.g. KIND_TYPESPEC */
    113104  GTree*    pSymbolTree;         /* Our introduced symbols */
     105  GPtrArray* pInterfaceArray;    /* The pointer array holding the interfaces we found */
    114106  guint     uiLineCorrection;    /* This is the line number put by the preprocessor into
    115107                                    the source file. It's used to calculate proper line numbers
     
    181173
    182174void emitHFile(GPtrArray* pInterfaceArray);
     175
     176/* In printdata.c */
     177void printInterface(PINTERFACE pif);
     178void printAllInterfacec(void);
Note: See TracChangeset for help on using the changeset viewer.