Native and global variables
Odd Arild Olsen <[email protected]> Tue, 22 Jun 2004 14:59:53 +0200
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
As far as I have understood, native methods can not use global variables. I need a few global variables for my native library that will be persistent over library calls. Is there any practical way to do this, e. g. by malloc or ephemeral state blocks? Even though I can malloc some memory, how can I make the pointer to the memory available to the library functions without having to pass it as a function call parameter. I use sdcc compiler and tini1.02 OAO _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini