Removed some warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d6aeb820ae
commit
b8387a45db
1 changed files with 5 additions and 8 deletions
|
|
@ -169,8 +169,7 @@ static void record_base(char *derived, char *base);
|
||||||
#define CALL_REFERENCE 0x02
|
#define CALL_REFERENCE 0x02
|
||||||
#define CALL_OUTPUT 0x04
|
#define CALL_OUTPUT 0x04
|
||||||
|
|
||||||
typedef class Parm {
|
typedef struct Parm {
|
||||||
public:
|
|
||||||
DataType *t; // Datatype of this parameter
|
DataType *t; // Datatype of this parameter
|
||||||
int call_type; // Call type (value or reference or value)
|
int call_type; // Call type (value or reference or value)
|
||||||
char *name; // Name of parameter (optional)
|
char *name; // Name of parameter (optional)
|
||||||
|
|
@ -178,8 +177,7 @@ typedef class Parm {
|
||||||
int ignore; // Ignore flag
|
int ignore; // Ignore flag
|
||||||
char *objc_separator; // Parameter separator for Objective-C
|
char *objc_separator; // Parameter separator for Objective-C
|
||||||
|
|
||||||
private:
|
// Note: This is temporary
|
||||||
// Note: This should uncover and remaining uses of these functions
|
|
||||||
Parm(DataType *type, char *n) { abort(); }
|
Parm(DataType *type, char *n) { abort(); }
|
||||||
Parm(Parm *p) { abort(); }
|
Parm(Parm *p) { abort(); }
|
||||||
~Parm() {abort();}
|
~Parm() {abort();}
|
||||||
|
|
@ -198,14 +196,13 @@ extern void DelParm(Parm *p);
|
||||||
|
|
||||||
#define MAXPARMS 16
|
#define MAXPARMS 16
|
||||||
|
|
||||||
typedef class ParmList {
|
typedef struct ParmList {
|
||||||
public:
|
|
||||||
int maxparms; // Max parms possible in current list
|
int maxparms; // Max parms possible in current list
|
||||||
Parm **parms; // Pointer to parms array
|
Parm **parms; // Pointer to parms array
|
||||||
int current_parm; // Internal state for get_first,get_next
|
int current_parm; // Internal state for get_first,get_next
|
||||||
int nparms; // Number of parms in list
|
int nparms; // Number of parms in list
|
||||||
private:
|
|
||||||
// Note: This is here to force any use of these to fail miserably.
|
// Note: This is temporary
|
||||||
ParmList() { abort(); }
|
ParmList() { abort(); }
|
||||||
ParmList(ParmList *l) { abort(); }
|
ParmList(ParmList *l) { abort(); }
|
||||||
~ParmList() { abort(); }
|
~ParmList() { abort(); }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue