Ignore:
Timestamp:
Mar 27, 2007, 10:22:54 PM (18 years ago)
Author:
cinc
Message:

Work on IH file emitter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/c/nom-idl-compiler.c

    r277 r278  
    114114PPARSEINFO pParseInfo=&parseInfo; /* This pointer will go away, don't use */
    115115
    116 /**
    117    Helper function which scans the array of known interfaces and returns the interface
    118    structure for the given name.
    119 
    120    \PARAM chrName Name of the interface.
    121    \Returns If no interface with that name can be found NULL is returned otherwise a
    122    pointer to the interface structure..
    123  */
    124 PINTERFACE findInterfaceFromName(gchar* chrName)
    125 {
    126   int a;
    127 
    128   for(a=0;a<parseInfo.pInterfaceArray->len;a++)
    129     {
    130       PINTERFACE pif=g_ptr_array_index(parseInfo.pInterfaceArray, a);
    131       if(!strcmp(chrName, pif->chrName))
    132         return pif;
    133     }
    134 
    135   return NULL;
    136 }
    137116
    138117/**
Note: See TracChangeset for help on using the changeset viewer.