Fix to keep gcc-3.4 happy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2ee658be93
commit
c486c70075
1 changed files with 5 additions and 5 deletions
|
|
@ -172,20 +172,20 @@ DohData(const DOH *obj) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* DohCmp()
|
* RawData()
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#define RawData(b) ((b->type->doh_data) ? (b->type->doh_data)(b) : 0)
|
|
||||||
|
|
||||||
/*
|
|
||||||
static void *
|
static void *
|
||||||
RawData(DohBase *b) {
|
RawData(DohBase *b) {
|
||||||
DohObjInfo *objinfo = b->type;
|
DohObjInfo *objinfo = b->type;
|
||||||
return (objinfo->doh_data) ? (objinfo->doh_data)(b) : 0;
|
return (objinfo->doh_data) ? (objinfo->doh_data)(b) : 0;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
/* -----------------------------------------------------------------------------
|
||||||
|
* DohCmp()
|
||||||
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
int
|
int
|
||||||
DohCmp(const DOH *obj1, const DOH *obj2) {
|
DohCmp(const DOH *obj1, const DOH *obj2) {
|
||||||
DohBase *b1, *b2;
|
DohBase *b1, *b2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue