MJS error bad FFI signature

bad ffi signature as followsAnnotation%202019-12-18%20162742

Not enough info. Show us the C and mJS code, please.

let f = ffi(‘int my_func(int, int)’);
print('Calling C my_func: ', f(5,4));

in src

#include “mgos.h”
int my_func(int a, int b){
return a+b;
}

Did you build and flash after adding the call in init.js?

yes i did . i found the solution.
I added both file in mos.yml file.

in sources:
-fs
-src