这个报错怎么修复,不太懂。

[love me][Lua] Error in "Helper": [string "ffi.cdef[[..."]:717: attempt to call method 'r' (a number value)
stack traceback:
[string "ffi.cdef[[..."]:717: in function 'on_draw'
[string "ffi.cdef[[..."]:1389: in function <[string "ffi.cdef[[..."]:1387>

717行 调用ffi去定义c结构,调用方法r传了一个number类型参数,代码呢