Ticket #175: patch.patch
File patch.patch, 1.8 KB (added by jimmy, 13 years ago) |
---|
-
languages/perl6/src/pmc/perl6multisub.pmc
214 214 Takes two candidates and determines if the first one is narrower than the 215 215 second. Returns a true value if they are. 216 216 217 =cut 218 217 219 */ 218 220 static INTVAL is_narrower(PARROT_INTERP, candidate_info *a, candidate_info *b) { 219 221 STRING *ACCEPTS = CONST_STRING(interp, "ACCEPTS"); … … 266 268 Takes a ResizablePMCArray of the candidates, collects information about them 267 269 and then does a topological sort of them. 268 270 271 =cut 272 269 273 */ 270 274 static candidate_info** sort_candidiates(PARROT_INTERP, PMC *candidates, PMC **proto_out) { 271 275 INTVAL i, j, sig_elems, candidates_to_sort, result_pos; … … 430 434 or throws an error saying that the dispatch failed if there were no 431 435 candidates or that it was ambiguous if there were tied candidates. 432 436 437 =cut 438 433 439 */ 434 440 435 441 static PMC* do_dispatch(PARROT_INTERP, candidate_info **candidates, PMC *proto, … … 641 647 Checks if a PMC is invokable; returns a true value if so and a false value if 642 648 not. 643 649 650 =cut 651 644 652 */ 645 653 static int check_invokable(PARROT_INTERP, PMC *value) { 646 654 STRING * const _sub = CONST_STRING(interp, "Sub"); … … 893 901 894 902 Marks the candidate list. 895 903 904 =cut 905 896 906 */ 897 907 VTABLE void mark() { 898 908 PMC *candidates; -
src/pmc/parrotrunningthread.pmc
82 82 83 83 Change the thread ID we refer to to C<new_tid>. 84 84 85 =cut 86 85 87 */ 86 88 87 89 VTABLE void set_integer_native(INTVAL new_tid) {