diff options
author | Akira TAGOH <akira@tagoh.org> | 2006-08-18 11:27:12 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2006-08-18 11:27:12 +0000 |
commit | 6fcf7972887cecb43e998f99584cddccfa6db753 (patch) | |
tree | 536bab0bd7b412bd65a9649513749341ecd140a1 /lib | |
parent | 1f8528e407eb596a47ba91ec3f4b0d38ca39b30f (diff) |
* hieroglyph/operator.c (_hg_operator_op_private_hg_findlibfile):
new function.
* hieroglyph/vm.c (hg_vm_find_libfile): new function.
* lib/hg_init.ps (runlibfile): implemented.
* tests/run.sh: inherit HIEROGLYPH_LIB_PATH.
* plugins/test/hg_unittest.ps: new file.
* plugins/test/Makefile.am (hgpslib_DATA): add hg_unittest.ps.
* plugins/test/test-main.c (_test_op_validateunittest): new function.
(plugin_init): implemented.
(plugin_load): implemented.
(plugin_unload): implemented.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hg_init.ps | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/hg_init.ps b/lib/hg_init.ps index 43125ef..9e3bd86 100644 --- a/lib/hg_init.ps +++ b/lib/hg_init.ps @@ -31,6 +31,12 @@ true .setglobal %%% %%% these aren't official operators/procedures for PostScript +% -string- runlibfile - +/runlibfile { + .findlibfile { + run + } if +} bind odef % -file- any write=only - /write=only { .stringcvs writestring |