New Firebird interface (cloop) – Cross Language Object Oriented Programming
Adriano wrote on Firebird-devel and twitter :
I put in my github account the first version of cloop – Cross Language
Object Oriented Programming.
– https://github.com/asfernandes/cloop
This first version is limited to void and int datatypes, supports C, C++
and Free Pascal, and the makefile works only in POSIX.
Some files in src/tests/test1 are autogenerated. They are flag as this
in their first line.
Tests consists of three (one for each language) executable and three
libraries as well.
The executable is the consumer test part and receives a parameter with
the library name of the supplier test part, so we can test any
combination of C/C++/Pascal as consumer/supplier. Examples:
./output/debug/bin/test1-pascal output/debug/bin/test1-pascal.so
./output/debug/bin/test1-c output/debug/bin/test1-pascal.so
./output/debug/bin/test1-cpp output/debug/bin/test1-pascal.so
./output/debug/bin/test1-cpp output/debug/bin/test1-c.so