Here is what I did to complete my mini-project to create
swig-generated bindings for Octave.

1. As of revision 11476, I implemented an Octave cell array of strings
alternative for the const char ** ArrayCk typemap.  This allows our
users to use more convenient cell arrays of strings for the text and
symbols arguments of pllegend as well as the more traditional charMatrix
approach to store arrays of strings that I implemented originally.
The interface automatically detects which kind of Matrix (cell or
charMatrix) is being used, and transforms it appropriately to the
C char ** arguments that pllegend needs for the text and symbols
arguments.

2. As of revision 11487, I have followed Andrew's suggestion to parse
api.xml to create bindings/swig-support/swig_documentation.i which can
be used by swig-generated languages (currently Python and Octave, but
Ruby qualifies as well if somebody wanted to add PLplot bindings for
that language in the future) that support the docstring %feature to
generate documentation for the language bindings.  To take a look at
these new help results, try 'help <commandname>' under Octave or
'print ("%s" % <commandname>.__doc__)' under Python. I believe you
will really like these detailed help results for these two languages!

3. As of revision 11489, I have updated README.release to include
a paragraph about all these octave changes.

This commit finishes what I planned to do for Octave, and I am glad to
say that Andrew has already started making some improvements (i.e.,
handling NULL arguments) to my work.

Here are some known remaining Octave issues which I am leaving to
Andrew when his time constraints permit some work on these issues.

1. Implement example 19 and the octave API that requires so that we
have completely clean diff results.

2. Get gcc -fvisibility=hidden option to work.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to