Added DohGetVoid() and DohSetVoid()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1765b9dac4
commit
95724b0e8f
2 changed files with 34 additions and 0 deletions
|
|
@ -172,6 +172,8 @@ typedef struct DohObjInfo {
|
|||
extern char *DohGetChar(DOH *obj, const DOH *name);
|
||||
extern void DohSetInt(DOH *obj, const DOH *name, int);
|
||||
extern void DohSetDouble(DOH *obj, const DOH *name, double);
|
||||
extern void *DohGetVoid(DOH *obj, const DOH *name);
|
||||
extern void DohSetVoid(DOH *obj, const DOH *name, void *value);
|
||||
|
||||
/* Sequence methods */
|
||||
|
||||
|
|
@ -267,8 +269,11 @@ typedef struct DohObjInfo {
|
|||
#define GetInt DohGetInt
|
||||
#define GetDouble DohGetDouble
|
||||
#define GetChar DohGetChar
|
||||
#define GetVoid DohGetVoid
|
||||
#define SetInt DohSetInt
|
||||
#define SetDouble DohSetDouble
|
||||
#define SetChar DohSetattr
|
||||
#define SetVoid DohSetVoid
|
||||
#define Firstitem DohFirstitem
|
||||
#define Nextitem DohNextitem
|
||||
#define Readline DohReadline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue