Changes in obarray.c [af1920fd:535d68b]
Legend:
- Unmodified
- Added
- Removed
-
obarray.c
raf1920fd r535d68b 10 10 */ 11 11 12 /* Helper method: Lookup a key in the obarray. If the key exists, 13 * return its index, and the interned value in *val. Otherwise, return 14 * the index it should be inserted at. 15 */ 12 // Helper method: Lookup a key in the obarray. If the key exists, 13 // return its index, and the interned value in *val. Otherwise, return 14 // the index it should be inserted at. 16 15 int owl_obarray_lookup(owl_obarray *oa, char * key, char ** val) /*noproto*/ 17 16 { … … 40 39 } 41 40 42 / * Returns NULL if the string doesn't exist in the obarray */41 // Returns NULL if the string doesn't exist in the obarray 43 42 char * owl_obarray_find(owl_obarray *oa, char * string) 44 43 { … … 48 47 } 49 48 50 / * Inserts the string into the obarray if it doesn't exist */49 // Inserts the string into the obarray if it doesn't exist 51 50 char * owl_obarray_insert(owl_obarray *oa, char * string) 52 51 {
Note: See TracChangeset
for help on using the changeset viewer.