Hello, may I ask if this library supports encapsulating the C language? For example, how can the following code be packaged using fastffi?
// func.h
extern "C" {
extern int func(int **matrix, int n);
};
// func.cpp
int func (int ** matrix, int n) {
// do xxx
return sum;
}
Hello, may I ask if this library supports encapsulating the C language? For example, how can the following code be packaged using fastffi?