[parrot/parrot] df005f: Add Parrot_api_pmc_[get|set]_keyed_int to the embe...

noreply at github.com noreply at github.com
Sat Dec 18 12:32:42 UTC 2010


Branch: refs/heads/embed_api2
Home:   https://github.com/parrot/parrot

Commit: df005fa077e6b89b59846c41e6a28783947c063d
    https://github.com/parrot/parrot/commit/df005fa077e6b89b59846c41e6a28783947c063d
Author: Nolan Lum <nol888 at gmail.com>
Date:   2010-12-16 (Thu, 16 Dec 2010)

Changed paths:
  M include/parrot/api.h
  M src/embed/pmc.c
  A t/src/embed/pmc.t

Log Message:
-----------
Add Parrot_api_pmc_[get|set]_keyed_int to the embedded API.


Commit: debf839e4d0d24cd2152d24823c232d5127a4b50
    https://github.com/parrot/parrot/commit/debf839e4d0d24cd2152d24823c232d5127a4b50
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2010-12-16 (Thu, 16 Dec 2010)

Changed paths:
  M lib/Parrot/Test/Harness.pm
  M t/src/embed/pmc.t

Log Message:
-----------
partial update for this test to use more of the 'best practices' API. We don't have a function to instantiate a new PMC by type name yet, so this test does not work


Commit: 7304885e214363954dd588908fe439d5571c6d29
    https://github.com/parrot/parrot/commit/7304885e214363954dd588908fe439d5571c6d29
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2010-12-17 (Fri, 17 Dec 2010)

Changed paths:
  M include/parrot/api.h
  M src/embed/api.c
  M src/embed/pmc.c
  M src/main.c
  M tools/dev/pbc_to_exe.pir

Log Message:
-----------
rename Parrot_api_build_argv_array to Parrot_api_pmc_wrap_string_array, and move it to src/embed/pmc.c


Commit: df07691f4554f016f99100c29e623601ef314166
    https://github.com/parrot/parrot/commit/df07691f4554f016f99100c29e623601ef314166
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2010-12-17 (Fri, 17 Dec 2010)

Changed paths:
  M src/embed/pmc.c

Log Message:
-----------
Add some error checking to Parrot_api_pmc_wrap_string_array. If we pass it a null pointer, return an empty array


Commit: 556385601f842d2f7b06af85bcbc7a3f5a8e4b54
    https://github.com/parrot/parrot/commit/556385601f842d2f7b06af85bcbc7a3f5a8e4b54
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2010-12-17 (Fri, 17 Dec 2010)

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

Log Message:
-----------
add a Parrot_pmc_box_string, which allows us to turn a Parrot_String into a Parrot_PMC String. Update the t/src/embed/pmc.t test to use this method, and rely exclusively on API calls


Commit: 9462cc7cc2b6e46b4d74fe3ea4d40b01b5166888
    https://github.com/parrot/parrot/commit/9462cc7cc2b6e46b4d74fe3ea4d40b01b5166888
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2010-12-17 (Fri, 17 Dec 2010)

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

Log Message:
-----------
use the test framework to compare strings for us in the pmc test


Commit: 65a3d5169fedc341085c7ec855928fa32bcb957b
    https://github.com/parrot/parrot/commit/65a3d5169fedc341085c7ec855928fa32bcb957b
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2010-12-17 (Fri, 17 Dec 2010)

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

Log Message:
-----------
delete the old Parrot_api_call_sub. We don't want to expose a vararg-based interface to the user. Add instead a Parrot_api_pmc_invoke method which takes a Sub PMC and a CallSignature PMC to perform the invoke. To pass args and results to/from the Sub we use keyed accessors on the CallSignature




More information about the parrot-commits mailing list