[GRASS-dev] GRASS 7 swig bindings: reorganization of code

Markus Neteler neteler at osgeo.org
Wed May 6 01:15:45 EDT 2009


On Wed, May 6, 2009 at 2:46 AM, Hamish <hamish_b at yahoo.com> wrote:
>
> Markus wrote:
>> in order to facilitate the creation of other bindings, I
>> suggest to move the
>>  swig/python/*.i
>> files into
>>  swig/include/
>>
>> Then the various language wrappers could include from there.
>
> (e.g. java bindings could be popular)

Exactly - I have tried to generate them and create a prototype
which yet happily fails (I am not familiar with Python but was asked
if GRASS could provide these bindings):

http://www.swig.org/Doc1.3/Java.html

Indeed I have discovered PyObjects in some .i files, so one
more separation will be needed.

Markus


More information about the grass-dev mailing list