(NewString, String_check, List_check, Hash_check): For these function
declarations, constify arg to match ../DOH/Include/doh.h. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ce13fcd88a
commit
9e723892b0
1 changed files with 44 additions and 44 deletions
|
|
@ -678,9 +678,9 @@ extern int SuperString_check(DOH *);
|
||||||
|
|
||||||
%subsection "Strings"
|
%subsection "Strings"
|
||||||
/* String constructor */
|
/* String constructor */
|
||||||
extern DOH *NewString(char *c);
|
extern DOH *NewString(const char *c);
|
||||||
/* Is this a string? */
|
/* Is this a string? */
|
||||||
extern int String_check(DOH *);
|
extern int String_check(const DOH *);
|
||||||
|
|
||||||
%subsection "Files"
|
%subsection "Files"
|
||||||
/* File constructor */
|
/* File constructor */
|
||||||
|
|
@ -696,7 +696,7 @@ extern DOH *NewFileFromFd(int fd);
|
||||||
/* List constructor */
|
/* List constructor */
|
||||||
extern DOH *NewList();
|
extern DOH *NewList();
|
||||||
/* Is this a list? */
|
/* Is this a list? */
|
||||||
extern int List_check(DOH *);
|
extern int List_check(const DOH *);
|
||||||
/* Sort a list */
|
/* Sort a list */
|
||||||
extern void List_sort(DOH *);
|
extern void List_sort(DOH *);
|
||||||
|
|
||||||
|
|
@ -704,7 +704,7 @@ extern void List_sort(DOH *);
|
||||||
/* Hash table constructor */
|
/* Hash table constructor */
|
||||||
extern DOH *NewHash();
|
extern DOH *NewHash();
|
||||||
/* Is this a hash table? */
|
/* Is this a hash table? */
|
||||||
extern int Hash_check(DOH *);
|
extern int Hash_check(const DOH *);
|
||||||
/* Get a List of the keys in a hash table */
|
/* Get a List of the keys in a hash table */
|
||||||
extern DOH *Hash_keys(DOH *);
|
extern DOH *Hash_keys(DOH *);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue