You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is true that the callback parameters are inconsistent between C and PIR. However, it does mean that all callbacks defined from within parrot are consistent, regardless of dissagreements between C libraries.
Hello,
see https://github.com/parrot/parrot/blob/master/src/nci_test.c#-115 , there are two define here.
the callback is created by:
which means it's first parameter is external_data, and the two is user_data. that is, the callback function should be defined as this one:
but actually in t/pmc/nci.t, it's defined as:
according to t/pmc/nci.t it seems that no matter user_data is the first parameter or two, the callback sub must be defined as:
then I took a look at PDD16, and it's said user_data should be defined in the second parameter:
which is right.
Originally http://trac.parrot.org/parrot/ticket/1992
The text was updated successfully, but these errors were encountered: