| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Optlink and emx |
* Crossposted in OS2.PROG.GER
* Crossposted in OS2PROG
* Crossposted in OS2NET.PROGRAMMIERUNG.GER
======================================================================
* Area : emx
======================================================================
From: Eberhard Mattes
Thomas Hoffmann writes:
> in the Java Toolkit Readme IBM says concerning the construction of so called
> native methods one has to link with the Optlink-convention. In the emx docs
> it is stated that the System linking convention is used.
>
> Is there a way to program native (C/C++) methods for java using emx-gcc
> (i.e. to mimic the Optlink convention in any way)?
#define _Optlink __attribute__ ((__regparm__ (3)))
This should work for functions which do not return structures and
which don't have floating-point parameters.
Eberhard Mattes
-------------
To unsubscribe send a message to majordomo{at}IAEhv.nl with in the body:
unsubscribe emx
Report serious problems at: emx-owner{at}.IAEhv.nl.
======================================================================
--- E3-32/1.11-32/2.51+
* Origin: Die TeX-Box +49-6034-930021 V.34 -930022 ISDN 24h (2:244/1130.42)SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407 SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1 @PATH: 244/1130 1500 396/1 270/101 712/624 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.