Search found 3 matches

by AVC
Sun Jan 16, 2022 4:36 pm
Forum: newLISP in the real world
Topic: Bug in struct with float arguments?
Replies: 2
Views: 1743

Re: Bug in struct with float arguments?

I've changed that line and recompiled. Bug solved! Thank you very much!
by AVC
Tue Jan 11, 2022 10:18 pm
Forum: newLISP in the real world
Topic: Bug in struct with float arguments?
Replies: 2
Views: 1743

Bug in struct with float arguments?

Hello, I love newLISP and I'm trying to use it for some graphics programming. So I'm writing a FFI module for the raylib library. I've encountered an odd behavior of struct: If I define a 'struct' with one or more floats and pass it to 'pack', the float values are stored as zeroes. But surprisingly ...
by AVC
Sun Mar 28, 2021 4:41 pm
Forum: Anything else we might add?
Topic: Reuse "pack"ed buffers?
Replies: 0
Views: 3435

Reuse "pack"ed buffers?

Hello, is there a way to re-utilize a buffer created with "pack"? What I mean is: You create a buffer using "pack" with some values You keep the address of the buffer in a symbol (maybe a default functor) so it isn't deleted automatically You "repack" the existing buffer passing the symbol or the ad...