[Gambas-user] haw to call the "C or C++" function suma(a, b) from gambas?
Adrian Martínez Vargas
amvargas at ...1922...
Tue Jun 10 17:45:01 CEST 2008
Hello mail list
If I have a shared library written in C++ that look like this:
// suma.cc:
extern "C"
{
float suma (float a, float b)
{
return a+b;
}
} // extern "C"
haw to call the function suma(a,b) from gambas?
my best
Dr. Adrian Martínez Vargas
Revista Minería y Geología (Editor Principal)
ISMM, Las Coloradas, s/n
Moa, Holguín,
Cuba
CP. 83329
http://www.ismm.edu.cu/revistamg/index.htm
More information about the User
mailing list