[vtk-developers] vtkWrapPython.c: truncated doc strings.

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Nov 9 03:09:23 EST 2001


>>>>> "DG" == David Gobbi <dgobbi at irus.rri.ca> writes:

    DG> On Visual C++, the maximum length of a string constant is
    DG> 4096, so that's where I made the cutoff.  The other option was

Ouch!

    DG> to break the docstrings into several pieces and then write
    DG> some code to stitch the pieces together and put them in the
    DG> right place when the module is initialized.

I guess that must be too much of a pain to do/

    DG> It might be an idea to only impose the 4096 char limit on
    DG> Windows, since most compilers allow string constants of
    DG> arbitrary length.

Well, this sounds to me the best option for you and the rest of us.

Thanks.

prabhu



More information about the vtk-developers mailing list