Changes in obarray.c [535d68b:af1920fd]
Legend:
- Unmodified
- Added
- Removed
-
obarray.c
r535d68b raf1920fd 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. 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 */ 15 16 int owl_obarray_lookup(owl_obarray *oa, char * key, char ** val) /*noproto*/ 16 17 { … … 39 40 } 40 41 41 / / Returns NULL if the string doesn't exist in the obarray42 /* Returns NULL if the string doesn't exist in the obarray */ 42 43 char * owl_obarray_find(owl_obarray *oa, char * string) 43 44 { … … 47 48 } 48 49 49 / / Inserts the string into the obarray if it doesn't exist50 /* Inserts the string into the obarray if it doesn't exist */ 50 51 char * owl_obarray_insert(owl_obarray *oa, char * string) 51 52 {
Note: See TracChangeset
for help on using the changeset viewer.