slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] Advice on "complex" data type integration


Robert Lipe <robertlipe@xxxxxxx> wrote:
>So given my data types at
>  http://cvs.sourceforge.net/viewcvs.py/gpsbabel/gpsbabel/defs.h?view=markup
>for struct waypoint,  I'd like to be able to write Slang fragments like:
[...]
>from here, so I'd appreciate any pointers that can be offered.  Do you
>have a good example on file of mapping things beyond simple C structs
>into Slang?

Have you considered using slirp <http://space.mit.edu/~mnoble/slirp/>
to wrap the functions and data structures in this file?  It should
produce something that is more or less a straightforward mapping of
your interface, and handle all the memory management for you.
Mike Noble is the slirp expert and can probably provide additional
details.

Thanks,
--John

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]