[2776] in java-interest

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

Returning newed instances of ArrayOf(s) from C

daemon@ATHENA.MIT.EDU (Steve V. Yalovitser)
Fri Oct 13 03:42:09 1995

From: "Steve V. Yalovitser" <root@cyberpunk.com>
To: java-interest@java.sun.com
Date: Fri, 13 Oct 1995 01:51:41 +0900 (EDT)

Hiya All,

	After digging through the code for makeJavaString I decided to write
something called makeHArrayOfInt (basically return int[] to java from c). I believe I
am using the write Alloc however the int arrays body field is a long*...
whichseems to not like memsets memcpys etc... Exactly how does one return an array
of ints through c without having to be given one. Thanks in advance
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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