Ticket #1147: nci_pmc_fixup_additional.patch

File nci_pmc_fixup_additional.patch, 1.3 KB (added by plobsing, 12 years ago)
  • DEPRECATED.pod

     
    7474 
    7575L<https://trac.parrot.org/parrot/ticket/918> 
    7676 
     77=item Use of 'v' in NCI parameter lists [eligible in 2.1] 
     78 
     79An empty parameter list suffices to indicate no parameters to an NCI call. 
     80This has been marked as deprecated in PDD16 for 2 years. 
     81 
     82F<pdds/draft/pdd16_native_call.pod> 
     83 
    7784=back 
    7885 
    7986=head1 Opcodes 
  • src/ops/core.ops

     
    13221322    else { 
    13231323        $1 = pmc_new(interp, enum_class_NCI); 
    13241324        VTABLE_set_pointer_keyed_str(interp, $1, $4, F2DPTR(p)); 
    1325         PObj_get_FLAGS($1) |= PObj_private1_FLAG; 
    13261325    } 
    13271326    Parrot_str_free_cstring(name); 
    13281327} 
  • src/extend.c

     
    17421742        (char *) NULL, 0); 
    17431743    Parrot_PMC sub = pmc_new(interp, enum_class_NCI); 
    17441744    VTABLE_set_pointer_keyed_str(interp, sub, sig, F2DPTR(func)); 
    1745     PObj_get_FLAGS(sub) |= PObj_private1_FLAG; 
    17461745    return sub; 
    17471746} 
    17481747