Re: Native Library Initialization
Thomas Chenot <tom.chenot-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Walter Fetter Lages wrote: > Hello! > > Some questions about native libraries: > > 1 - Can I pass arguments to a native library initialization routine? No. You can certainly call your own native method just after loadLibrary with parameters for similiar functionality. > > > 2 - It appears that only labels starting with Native_ AND THAT ARE > DECLARED ALONE IN THE LINE are exported as public by a390. For example: > > Native_method: > clr a > ret > > works OK, but > > Native_method: clr a > ret > > generates a link error while loading the native libraray. Is this a > feature or a bug? This is a bug. > > > 3 - Can constructors and finalize() be implemented as native methods? No but you can call native methods from anywhere in your Java code.. > > -- Thomas Chenot _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini