Re: Rob: Q: Constant Scope

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> Vincent wrote:
> > 
> > ----
> > Another question... Is there anyway I can use global variables in
> > Eu2C translated/compiled DLLs, being able to use define_c_var()?
> > If not, could you consider, adding support for it in the next
> > release? I tried making an example but it didnt work, maybe I did
> > somthing wrong?
> 
> You could do this, but this probably only makes sense for integers, and
> you'd have to be careful to keep them at 31 bits, because Euphoria would
> interpret bigger things as either atoms or sequences.  You can take a look
> at my contribution for passing 32-bit integers to a compiled euphoria 
> routine for some additional insight into what sort of things would be
> involved.
> 
> Matt Lewis
> 

Thanks, Ill take a look at it :)

Regards,
Vincent


Without walls and fences, there is no need for Windows and Gates.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu