[parrot/parrot] 0ebe73: Refactor out CallContext creation into a new funct...

GitHub noreply at github.com
Fri May 18 01:05:48 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 0ebe739020cfcd5d86f3cc2c797afa84a67da497
      https://github.com/parrot/parrot/commit/0ebe739020cfcd5d86f3cc2c797afa84a67da497
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-05-17 (Thu, 17 May 2012)

  Changed paths:
    M include/parrot/api.h
    M include/parrot/call.h
    M include/parrot/exit.h
    M src/call/pcc.c
    M src/embed/pmc.c
    M src/ops/core_ops.c
    M src/ops/experimental.ops

  Log Message:
  -----------
  Refactor out CallContext creation into a new function Parrot_pcc_new_call_object. Use that in the new_call_context op. Also, expose it through a convenient new Parrot_api_new_call_object API function. brrt++ for the suggestion


  Commit: d2853b9b50abe9f0288cfb79961783d3e3359664
      https://github.com/parrot/parrot/commit/d2853b9b50abe9f0288cfb79961783d3e3359664
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-05-17 (Thu, 17 May 2012)

  Changed paths:
    M include/parrot/api.h
    M src/call/args.c
    M src/embed/pmc.c

  Log Message:
  -----------
  Add in a new Parrot_api_pmc_setup_signature convenience API routine, for constructing a CallContext from a signature string and a variadic argument list. brrt++ for the suggestion


  Commit: 7be52c6ad1dae843390c4338f6f5bc7254b5885a
      https://github.com/parrot/parrot/commit/7be52c6ad1dae843390c4338f6f5bc7254b5885a
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-05-17 (Thu, 17 May 2012)

  Changed paths:
    M t/src/embed/pmc.t

  Log Message:
  -----------
  Add a new test to showcase the relative brevity of using the new Parrot_api_pmc_new_call_object and Parrot_api_pmc_setup_signature


Compare: https://github.com/parrot/parrot/compare/b6bf583...7be52c6


More information about the parrot-commits mailing list