Ticket #1147: nci_pmc_fixup_additional.patch
File nci_pmc_fixup_additional.patch, 1.3 KB (added by plobsing, 12 years ago) |
---|
-
DEPRECATED.pod
74 74 75 75 L<https://trac.parrot.org/parrot/ticket/918> 76 76 77 =item Use of 'v' in NCI parameter lists [eligible in 2.1] 78 79 An empty parameter list suffices to indicate no parameters to an NCI call. 80 This has been marked as deprecated in PDD16 for 2 years. 81 82 F<pdds/draft/pdd16_native_call.pod> 83 77 84 =back 78 85 79 86 =head1 Opcodes -
src/ops/core.ops
1322 1322 else { 1323 1323 $1 = pmc_new(interp, enum_class_NCI); 1324 1324 VTABLE_set_pointer_keyed_str(interp, $1, $4, F2DPTR(p)); 1325 PObj_get_FLAGS($1) |= PObj_private1_FLAG;1326 1325 } 1327 1326 Parrot_str_free_cstring(name); 1328 1327 } -
src/extend.c
1742 1742 (char *) NULL, 0); 1743 1743 Parrot_PMC sub = pmc_new(interp, enum_class_NCI); 1744 1744 VTABLE_set_pointer_keyed_str(interp, sub, sig, F2DPTR(func)); 1745 PObj_get_FLAGS(sub) |= PObj_private1_FLAG;1746 1745 return sub; 1747 1746 } 1748 1747