Add __str__ to operator_overload testcase for python builtin

Just for debugging the testcase with -builtin
This commit is contained in:
William S Fulton 2016-05-05 21:10:52 +01:00
commit e7f9a3e8f4

View file

@ -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>