I meant to change it to:
    
    
    static N_INLINE(void, nimCopyMem)(void* const dest, void* const source, NI 
const size)
    
    
    Run

But yeah, what's the problem again? "Generate a C function with `const` params" 
... that's only important if you interface to C via compiling to C for the lack 
of better words. In other words, do not use `.importc, header`, use `.importc, 
dynlib`, interface via ABI, not via API.

Reply via email to