[cvsnt-dev] Re: cvsapi for non-c++ coders?

David Somers dsomers at omz13.com
Fri Jun 9 12:18:42 UTC 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Tony Hoyle wrote:

> Oliver Giesen wrote:
>> are there any plans to "open up" the cvsapi for non-C++ coders like me?
>> The current interface of exported classes is very hard/impossible to
>> handle in other languages.

Perhaps using swig (http://www.swig.org) would be the way forward... that is
if swig supports the other language that you're working with.

>> An extern "C" alternative interface or even COM-wrappers would be great!
> I do intend to expose limited parts of the API to COM to help COM trigger
> libraries but there are no plans for the whole API to be made that way.  I
> don't think it's practical to make a C interface.

See http://developers.sun.com/prodtech/cc/articles/mixing.html
Look for Accessing C++ Classes From C.
It is possible... whether pratical/impratical is another question/matter of
opinion.

BTW, is there any documentation on how to (ab)use the cvsapi and/or cvsfs?

Greetings from (hot and sunny) Luxembourg

-- 
David Somers



More information about the cvsnt-dev mailing list