# New Ticket Created by  chromatic 
# Please include the string:  [perl #29521]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=29521 >


Hi there,

This one-line change to t/pmc/nci.t demonstrates an apparent bug
somewhere in passing arrays of structs to NCI functions.  Specifically,
it appears that it's using the wrong data pointer somehow.

Alternately, I could be doing things wrong again.  :)

-- c


Index: t/pmc/nci.t
===================================================================
RCS file: /cvs/public/parrot/t/pmc/nci.t,v
retrieving revision 1.43
diff -u -u -r1.43 nci.t
--- t/pmc/nci.t	9 May 2004 08:45:14 -0000	1.43
+++ t/pmc/nci.t	12 May 2004 05:45:35 -0000
@@ -1095,7 +1095,7 @@
   set  P3["h"], .DATATYPE_INT
   push P3, 0
   push P3, 0
-  new P6, .UnManagedStruct, P3
+  new P6, .ManagedStruct, P3
 
   new P4, .OrderedHash
   set  P4["Rect"], .DATATYPE_STRUCT

Reply via email to