Hi! Is there a simple way to get pointer to buffer, added by add_buffer? I want to free memory after removing buffer. Do I have to maintain my own pointer list? Oh, and what add_buffer returns, success / fail or something else ? Thanks in advance.
Last edited by Lion_Ts; 07/19/0623:12.
Re: Is there way to get ptr to added buffer ?
[Re: Lion_Ts]
#82296 07/20/0609:1307/20/0609:13
Yes, you're responsible for storing the pointer and freeing the buffer. The engine won't do that for you. See Manual -> C-Script -> add_buffer. The function can't fail and thus won't return a value.
Re: Is there way to get ptr to added buffer ?
[Re: jcl]
#82297 07/21/0614:1607/21/0614:16