[capi-sig] Passing an object from script to C code