From bf49e7642027f576716e5742544c282f4396f9ef Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Dec 2002 23:31:38 +0000 Subject: python. no more guile. python. --- otk/otk.i | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'otk/otk.i') diff --git a/otk/otk.i b/otk/otk.i index 9fcd5b6c..fc5a4c5f 100644 --- a/otk/otk.i +++ b/otk/otk.i @@ -50,6 +50,26 @@ namespace otk { %rename(itostring_unsigned) itostring(unsigned int); %rename(itostring_long) itostring(long); %rename(itostring_unsigned_long) itostring(unsigned long); + +// these are needed for guile, but not needed for python! +%rename(equals) BColor::operator==; +%rename(equals) Rect::operator==; +%rename(equals) BTexture::operator==; +%ignore BColor::operator!=; +%ignore BTexture::operator!=; +%ignore Rect::operator!=; +%ignore Rect::operator|; +%ignore Rect::operator|=; +%ignore Rect::operator&; +%ignore Rect::operator&=; +%ignore OBTimer::operator<; +%ignore TimerLessThan; + +/* +%rename(set_multi) OtkProperty::set(Window, Atoms, Atoms, unsigned long[], int); +%rename(set_string) OtkProperty::set(Window, Atoms, StringType, const std::string &); +%rename(set_string_multi) OtkProperty::set(Window, Atoms, StringType, const StringVect &); +*/ } %include "eventdispatcher.hh" -- cgit v1.2.3