From: Gary B. <gb...@cs...> - 2002-05-26 23:41:46
|
What is the "wrap" argument to some of the functions in the Python API? Is this some additional functionality that is not in the C api? I ask because I'm making a python wrapper with SWIG and I don't know how to handle this argument. I've got all the demos running with a SWIG description file that handles all the array/length tricks and handles the PLFLT double/float trick. It is mostly just a copy of the plplot.h file with some tricky SWIG typemaps. The complications are the irregular interfaces to plcont, plstyl, plshade*, etc. I can whip them with python help functions. Are these irregular interfaces documented anywhere? Another question. Do the callback arguments get used for much? I believe I could set up the python interface to support python callbacks for these functions if it is worth the effort. The "data" argument would become an arbitrary Python object in that case. Should be fine. Thanks gb |