Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#56 Docstring generation broken

v2.0.1
closed-fixed
doc (10)
7
2003-05-25
2003-01-17
Mike C. Fletcher
No

The WGL module has no PyOpenGL documentation at the
moment. Should add it to the wrapper as seen in all the
other GL modules.

Discussion

  • Logged In: YES
    user_id=34901

    Docs _are_ in the wrapper, they just aren't showing up in
    the generated .pyd file :( . Will need to track down just
    what the "DOC" macro does to debug this.

     
  • Logged In: YES
    user_id=34901

    Problem appears larger than I thought (appears to affect all
    modules). The auto-documentation functionality is provided
    by a truly horrific series of regexen in build_w.py . The
    method is either no-longer called, or is failing silently.
    There really should be a SWIG-friendly way to do this
    instead of rewriting the wrapper files with regexen :( .

     
  • Rene Dudfield
    Rene Dudfield
    2003-02-04

    Logged In: YES
    user_id=2042

    New versions of swig have dropped documentation support.

    I think we'll need to fix up our own version

    Arg regexens!!!

     
    • priority: 6 --> 7
    • assigned_to: nobody --> mcfletch
    • summary: WGL wrapper has no documentation --> Docstring generation broken
     
  • Logged In: YES
    user_id=34901

    This was actually a trivial fix. SWIG has added a (char *)
    cast to the method table. The regex for adding the
    docstring just needed to have that taken into account.

     
    • status: open --> closed-fixed