[Kst] Binding via CFFI

Peter Kümmel syntheticpp at gmx.net
Wed Apr 2 17:30:13 UTC 2014


https://cffi.readthedocs.org
Have you evaluated to bind via CFFI?

This would require a C-API,

   typedef struct kst_ClassA;
   kst_ClassA* kst_ClassA_new();
   void kst_ClassA_delete(kst_ClassA* self);
   void kst_ClassA_memberFunction(kst_ClassA* self, int param);

and would have the advantage that any binding using a simliar apprach (libffi)
are "automatically" supported, e.g.
   http://luajit.org/ext_ffi.html
or
   https://sourceware.org/libffi/

Peter


More information about the Kst mailing list