[C++-sig] V2: isinstance(obj,cls) equivalent

Pearu Peterson pearu at cens.ioc.ee
Fri May 31 21:21:17 CEST 2002


Hi,

What would be the best way to determine if

  PyObject *obj

is an instance of a Boost.Python V2 wrapped class, say A?

Hints where to look are most appreciated.

Thanks,
	Pearu






More information about the Cplusplus-sig mailing list