#define _GNU_SOURCE #include char *Add(int a,int b) { char *ret; asprintf(&ret, "C plugin: %d",a+b); return ret; }