Add __str__ to operator_overload testcase for python builtin
Just for debugging the testcase with -builtin
This commit is contained in:
parent
a09ef99606
commit
e7f9a3e8f4
1 changed files with 4 additions and 0 deletions
|
|
@ -73,6 +73,10 @@ see bottom for a set of possible tests
|
|||
%rename(OrOperator) operator ||;
|
||||
#endif
|
||||
|
||||
#if defined(SWIGPYTHON)
|
||||
%feature("python:slot", "tp_str", functype="reprfunc") Op::__str__;
|
||||
#endif
|
||||
|
||||
#ifdef SWIG_ALLEGRO_CL
|
||||
%{
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue