(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:
parent
5b0dee81ee
commit
003eda59a7
1 changed files with 12 additions and 11 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue