Tim Rowledge wrote: <snipped>
One of the little joys of using a vm plugin for replicating C code like this (with all those bit twiddles) is that you simply steal the C and use it :-) Whihc neatly sidesteps the problems you've been having....
It depends: if you generate the plugin by using Slang, you have to do (think) more.
I think you mean using the C stuff as it is and calling it by some generated Slang function.
Greetings,
Stephan
tim