| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Mar 29, 2005, at 6:48 AM, Josef Henryson wrote:
Scott,
Thank you, this is probably it. I had no idea there was a difference between the C and C++ style.
Do you know where I can find more information on this? I have searched different JNI tutorials but the info on this is limited..
I always go to the source http://java.sun.com/ The C-style and C++-style is mentioned somewhere in the official Sun docs. If the tutorials there are the tutorials that you have already read then the next step would be to google and read the java C header files for JNI, as you've obviously started to...
For example, I noticed in the header file these lines:
#ifdef __cplusplus
extern "C" {
#endif
Does it mean I have to explicitly define __cplusplus somewhere or is this handled by the compiler?
That's handled by the compiler.
Cheers,
Scott _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.