<zulu.inuoe>
You'd need to remember to free it later, yes So if you don't want that, then yes, you need to copy. Hence why for the use-case of:
is better suited by cffi stuff
static-vectors is for the usage of
<phoe>
is the low level opengl function that expects a pointer to a foreign array to write to Can't you give it a pointer to your static array? Or is that buffer located elsewhere in memory?
my reasoning is: if the opengl function expects a pointer, give it a pointer that belongs to a Lisp static array