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


This patch does:

1. some adding and renaming in core.ops, which gives the following ops:
   - call()
   - call(in PMC)
   - find_method(out PMC, in PMC, int STR)
   - call_method(in PMC, in STR)
   - call_method(in STR)

2. adds pmc access macros to register.h (as suggested by Mitchell).
   - REG_PMC(x)
   - REG_STR(x)
   - REG_INT(x)
   - REG_NUM(x)

3. updates tests, examples and documentation to use call instead of invoke.
   - t/pmc/sub.t
   - t/pmc/coroutine.t
   - t/pmc/eval.t
   - t/pmc/nci.t
   - examples/assembly/coroutines.pasm
   - examples/assembly/sub.pasm
   - docs/pdds/pdd06_pasm.pod

still to do:
   - update language/imcc to use call instead of invoke?? 
   - add callcc and callcc_method - patch coming soon
   - change more code to use pmc access macros
   - add tests for find_method and call_method

--
Jonathan Sillito


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/58682/43683/a475b3/call.patch

Attachment: call.patch
Description: call.patch

Reply via email to