From: Mathieu B. <ma...@ar...> - 2006-01-24 08:59:29
|
On Tue, 24 Jan 2006, Marcelo Matus wrote: > The cast list that swig save refers to explicit cast, for example, if you > have: > struct A {}; > struct B : A {}; > swig save the relation or cast from B -> A, using a method like > void* BtoA(void *ptr) { return (A*) (B *)(ptr);} Oh ok, and more importantly it refers to explicit casts of pointers to=20 objects, and not to objects themselves, so it has nothing to do with=20 overloading casts ("operator" followed by a typename) _ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - t=E9l:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montr=E9al QC Canada |