You are here

LISP, C lib extension, global variables

1 post / 0 new
tmgofer
Offline
Last seen: 2 months 2 weeks ago
Joined: 2023-07-31 11:55
Posts: 4
LISP, C lib extension, global variables

Hi,

Am I right thinking that using of global variables to store context between consecutive calls of my C_lib function providing extension to LISP is NOT a good idea? Especially if the function is to be eventually transferred to FLASH... 
Looks like lib_info::arg parameter provided in init function is the way forward. I'm just looking for confirmation or discussion in this topic.

Cheers
M