Remove problematic member function pointer tests from Go
Go module needs fixing
This commit is contained in:
parent
858acf69e4
commit
cf7d53599c
3 changed files with 18 additions and 0 deletions
|
|
@ -48,18 +48,24 @@ public:
|
|||
typedef double (Shape::*PerimeterFunc_td)(void);
|
||||
|
||||
extern double do_op(Shape *s, double (Shape::*m)(void));
|
||||
#if !defined(SWIGGO)
|
||||
extern double do_op_td(Shape *s, PerimeterFunc_td m);
|
||||
#endif
|
||||
|
||||
/* Functions that return member pointers */
|
||||
|
||||
extern double (Shape::*areapt())(void);
|
||||
extern double (Shape::*perimeterpt())(void);
|
||||
#if !defined(SWIGGO)
|
||||
extern PerimeterFunc_td perimeterpt_td();
|
||||
#endif
|
||||
|
||||
/* Global variables that are member pointers */
|
||||
extern double (Shape::*areavar)(void);
|
||||
extern double (Shape::*perimetervar)(void);
|
||||
#if !defined(SWIGGO)
|
||||
extern PerimeterFunc_td perimetervar_td;
|
||||
#endif
|
||||
%}
|
||||
|
||||
%{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue