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


Hi,

so far external libraries can pass integers and strings to Parrot callback
subs.
This patch adds support for passing 'void *' pointers. Within a callback
sub, the external data is available as a UnManagedStruct PMC.

In t/pmc/nci.t there are 4 new tests. The tests 'nci_cb_C3 - PIR' and
'nci_cb_C3 - PIR'
receive a static int in libnci.so as external data.

CU, Bernhard 

-- 
/* [EMAIL PROTECTED] */

NEU: GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++

Attachment: nci_callback_20040916.patch
Description: Binary data

Reply via email to