[C++-sig] Adding .staticmethod from pyste?
Grant Goodyear
grant at grantgoodyear.org
Mon Jan 23 20:52:20 CET 2006
I'm adding a new method to my Util class:
Util = Class("EMAN::Util", "util_wrapitems.h")
exclude(Util.Crosrng_e)
add_method(Util, "util_Crosrng_e")
rename(Util.util_Crosrng_e, "Crosrng_e")
My only problem is that the new Util.Crosrng_e method is a static
method of Util, and I'm not sure how to convey that information to
pyste so that it inserts the appropriate .staticmethod("Crosrng_e")
line in the .cpp file that pyste generates.
Help?
Thanks,
Grant Goodyear
--
Grant Goodyear
web: http://www.grantgoodyear.org
e-mail: grant at grantgoodyear.org
More information about the Cplusplus-sig
mailing list