[5539] in java-interest

home help back first fref pref prev next nref lref last post

string argument to C

daemon@ATHENA.MIT.EDU (Heather Swayne)
Thu Feb 15 15:13:17 1996

Date: Thu, 15 Feb 1996 10:48:28 PST
From: Heather Swayne <hswayne@wrc.xerox.com>
To: java-mailer <java-interest@java.sun.com>

Yet another problem to solve:

  When I try to pass a java String to a native C function I 
receive an warning of incompatible types - from 'struct 
Classjava_lang_String *' to 'char *'

I know why this is occurring I just don't know how to fit it.
	Does any one know of a java function that will 
manipulate a String into a data structure that is compatible 
with C or a way to define String in C????

Thanks for any advice of examples!!
	Heather
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post