[Xapian-tickets] [Xapian] #535: Vala bindings

Xapian nobody at xapian.org
Sun Jul 24 01:50:23 BST 2011


#535: Vala bindings
-----------------------------+----------------------------------------------
 Reporter:  rc               |       Owner:  olly
     Type:  enhancement      |      Status:  new 
 Priority:  normal           |   Milestone:      
Component:  Xapian-bindings  |     Version:      
 Severity:  normal           |    Keywords:      
Blockedby:                   |    Platform:  All 
 Blocking:                   |  
-----------------------------+----------------------------------------------

Comment(by olly):

 SWIG releases can't currently generate C bindings for a C++ library.
 There was a GSoC project (in 2008 I think) which implemented this, but it
 isn't yet merged to SWIG trunk.  But I think the status is that it mostly
 works, so getting that finished off and merged would be one approach.

 People ask about C bindings from time to time, but experience with the
 Perl XS bindings and the Java JNI bindings shows that having to hand
 update bindings means they lag behind, particularly with wrapping new API
 features, because that's such tedious mechanical work.  It needs somebody
 with the enthusiasm to actively maintain them for that to work.

 Adding Vala support to SWIG would be another option.  SWIG does a lot of
 the hard work of parsing C++ API headers, etc already, and xapian-bindings
 already has a lot of machinery set up for SWIG.

-- 
Ticket URL: <http://trac.xapian.org/ticket/535#comment:3>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list