Changeset 278 for trunk/idl-compiler/c/nom-idl-compiler.c
- Timestamp:
- Mar 27, 2007, 10:22:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/idl-compiler/c/nom-idl-compiler.c
r277 r278 114 114 PPARSEINFO pParseInfo=&parseInfo; /* This pointer will go away, don't use */ 115 115 116 /**117 Helper function which scans the array of known interfaces and returns the interface118 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 a122 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 }137 116 138 117 /**
Note:
See TracChangeset
for help on using the changeset viewer.