(find_key): First arg now has type `DOH *' to match callers.

Internally, this is immediately converted to `char *'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Thien-Thi Nguyen 2000-05-11 07:59:31 +00:00
commit 003eda59a7

View file

@ -41,7 +41,8 @@ typedef struct KeyValue {
static KeyValue *root = 0; static KeyValue *root = 0;
/* Find or create a key in the interned key table */ /* Find or create a key in the interned key table */
static DOH *find_key(char *c) { static DOH *find_key (DOH *doh_c) {
char *c = (char *) doh_c;
KeyValue *r, *s; KeyValue *r, *s;
int d = 0; int d = 0;
r = root; r = root;