First profile for MacOS, to be improved
[texmacs.git] / src / src / Guile / Glue / glue_basic.cpp
blobb4e1b5134d524f4d9dbce1a30af3c211560c9572
2 /******************************************************************************
4 * This file has been generated automatically using build-glue.scm
5 * from build-glue-basic.scm. Please do not edit its contents.
6 * Copyright (C) 2000 Joris van der Hoeven
8 * This software falls under the GNU general public license version 3 or later.
9 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
10 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
12 ******************************************************************************/
14 SCM
15 tmg_texmacs_version_release (SCM arg1) {
16 SCM_ASSERT_STRING (arg1, SCM_ARG1, "texmacs-version-release");
18 string in1= scm_to_string (arg1);
20 // SCM_DEFER_INTS;
21 string out= texmacs_version (in1);
22 // SCM_ALLOW_INTS;
24 return string_to_scm (out);
27 SCM
28 tmg_version_beforeP (SCM arg1, SCM arg2) {
29 SCM_ASSERT_STRING (arg1, SCM_ARG1, "version-before?");
30 SCM_ASSERT_STRING (arg2, SCM_ARG2, "version-before?");
32 string in1= scm_to_string (arg1);
33 string in2= scm_to_string (arg2);
35 // SCM_DEFER_INTS;
36 bool out= version_inf (in1, in2);
37 // SCM_ALLOW_INTS;
39 return bool_to_scm (out);
42 SCM
43 tmg_os_win32P () {
44 // SCM_DEFER_INTS;
45 bool out= os_win32 ();
46 // SCM_ALLOW_INTS;
48 return bool_to_scm (out);
51 SCM
52 tmg_os_mingwP () {
53 // SCM_DEFER_INTS;
54 bool out= os_mingw ();
55 // SCM_ALLOW_INTS;
57 return bool_to_scm (out);
60 SCM
61 tmg_os_macosP () {
62 // SCM_DEFER_INTS;
63 bool out= os_macos ();
64 // SCM_ALLOW_INTS;
66 return bool_to_scm (out);
69 SCM
70 tmg_x_guiP () {
71 // SCM_DEFER_INTS;
72 bool out= gui_is_x ();
73 // SCM_ALLOW_INTS;
75 return bool_to_scm (out);
78 SCM
79 tmg_qt_guiP () {
80 // SCM_DEFER_INTS;
81 bool out= gui_is_qt ();
82 // SCM_ALLOW_INTS;
84 return bool_to_scm (out);
87 SCM
88 tmg_tm_output (SCM arg1) {
89 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tm-output");
91 string in1= scm_to_string (arg1);
93 // SCM_DEFER_INTS;
94 tm_output (in1);
95 // SCM_ALLOW_INTS;
97 return SCM_UNSPECIFIED;
101 tmg_tm_errput (SCM arg1) {
102 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tm-errput");
104 string in1= scm_to_string (arg1);
106 // SCM_DEFER_INTS;
107 tm_errput (in1);
108 // SCM_ALLOW_INTS;
110 return SCM_UNSPECIFIED;
114 tmg_win32_display (SCM arg1) {
115 SCM_ASSERT_STRING (arg1, SCM_ARG1, "win32-display");
117 string in1= scm_to_string (arg1);
119 // SCM_DEFER_INTS;
120 win32_display (in1);
121 // SCM_ALLOW_INTS;
123 return SCM_UNSPECIFIED;
127 tmg_scheme_dialect () {
128 // SCM_DEFER_INTS;
129 string out= scheme_dialect ();
130 // SCM_ALLOW_INTS;
132 return string_to_scm (out);
136 tmg_get_texmacs_path () {
137 // SCM_DEFER_INTS;
138 string out= get_texmacs_path ();
139 // SCM_ALLOW_INTS;
141 return string_to_scm (out);
145 tmg_plugin_list () {
146 // SCM_DEFER_INTS;
147 scheme_tree out= plugin_list ();
148 // SCM_ALLOW_INTS;
150 return scheme_tree_to_scm (out);
154 tmg_get_font_type () {
155 // SCM_DEFER_INTS;
156 int out= get_font_type ();
157 // SCM_ALLOW_INTS;
159 return int_to_scm (out);
163 tmg_set_font_type (SCM arg1) {
164 SCM_ASSERT_INT (arg1, SCM_ARG1, "set-font-type");
166 int in1= scm_to_int (arg1);
168 // SCM_DEFER_INTS;
169 set_font_type (in1);
170 // SCM_ALLOW_INTS;
172 return SCM_UNSPECIFIED;
176 tmg_font_exists_in_ttP (SCM arg1) {
177 SCM_ASSERT_STRING (arg1, SCM_ARG1, "font-exists-in-tt?");
179 string in1= scm_to_string (arg1);
181 // SCM_DEFER_INTS;
182 bool out= tt_font_exists (in1);
183 // SCM_ALLOW_INTS;
185 return bool_to_scm (out);
189 tmg_eval_system (SCM arg1) {
190 SCM_ASSERT_STRING (arg1, SCM_ARG1, "eval-system");
192 string in1= scm_to_string (arg1);
194 // SCM_DEFER_INTS;
195 string out= eval_system (in1);
196 // SCM_ALLOW_INTS;
198 return string_to_scm (out);
202 tmg_var_eval_system (SCM arg1) {
203 SCM_ASSERT_STRING (arg1, SCM_ARG1, "var-eval-system");
205 string in1= scm_to_string (arg1);
207 // SCM_DEFER_INTS;
208 string out= var_eval_system (in1);
209 // SCM_ALLOW_INTS;
211 return string_to_scm (out);
215 tmg_get_locale_language () {
216 // SCM_DEFER_INTS;
217 string out= get_locale_language ();
218 // SCM_ALLOW_INTS;
220 return string_to_scm (out);
224 tmg_texmacs_time () {
225 // SCM_DEFER_INTS;
226 int out= texmacs_time ();
227 // SCM_ALLOW_INTS;
229 return int_to_scm (out);
233 tmg_texmacs_memory () {
234 // SCM_DEFER_INTS;
235 int out= mem_used ();
236 // SCM_ALLOW_INTS;
238 return int_to_scm (out);
242 tmg_bench_print (SCM arg1) {
243 SCM_ASSERT_STRING (arg1, SCM_ARG1, "bench-print");
245 string in1= scm_to_string (arg1);
247 // SCM_DEFER_INTS;
248 bench_print (in1);
249 // SCM_ALLOW_INTS;
251 return SCM_UNSPECIFIED;
255 tmg_bench_print_all () {
256 // SCM_DEFER_INTS;
257 bench_print ();
258 // SCM_ALLOW_INTS;
260 return SCM_UNSPECIFIED;
264 tmg_system_wait (SCM arg1, SCM arg2) {
265 SCM_ASSERT_STRING (arg1, SCM_ARG1, "system-wait");
266 SCM_ASSERT_STRING (arg2, SCM_ARG2, "system-wait");
268 string in1= scm_to_string (arg1);
269 string in2= scm_to_string (arg2);
271 // SCM_DEFER_INTS;
272 system_wait (in1, in2);
273 // SCM_ALLOW_INTS;
275 return SCM_UNSPECIFIED;
279 tmg_set_bibtex_command (SCM arg1) {
280 SCM_ASSERT_STRING (arg1, SCM_ARG1, "set-bibtex-command");
282 string in1= scm_to_string (arg1);
284 // SCM_DEFER_INTS;
285 set_bibtex_command (in1);
286 // SCM_ALLOW_INTS;
288 return SCM_UNSPECIFIED;
292 tmg_math_symbol_group (SCM arg1) {
293 SCM_ASSERT_STRING (arg1, SCM_ARG1, "math-symbol-group");
295 string in1= scm_to_string (arg1);
297 // SCM_DEFER_INTS;
298 string out= math_symbol_group (in1);
299 // SCM_ALLOW_INTS;
301 return string_to_scm (out);
305 tmg_math_group_members (SCM arg1) {
306 SCM_ASSERT_STRING (arg1, SCM_ARG1, "math-group-members");
308 string in1= scm_to_string (arg1);
310 // SCM_DEFER_INTS;
311 array_string out= math_group_members (in1);
312 // SCM_ALLOW_INTS;
314 return array_string_to_scm (out);
318 tmg_math_symbol_type (SCM arg1) {
319 SCM_ASSERT_STRING (arg1, SCM_ARG1, "math-symbol-type");
321 string in1= scm_to_string (arg1);
323 // SCM_DEFER_INTS;
324 string out= math_symbol_type (in1);
325 // SCM_ALLOW_INTS;
327 return string_to_scm (out);
331 tmg_object_2command (SCM arg1) {
332 SCM_ASSERT_OBJECT (arg1, SCM_ARG1, "object->command");
334 object in1= scm_to_object (arg1);
336 // SCM_DEFER_INTS;
337 command out= as_command (in1);
338 // SCM_ALLOW_INTS;
340 return command_to_scm (out);
344 tmg_exec_delayed (SCM arg1) {
345 SCM_ASSERT_OBJECT (arg1, SCM_ARG1, "exec-delayed");
347 object in1= scm_to_object (arg1);
349 // SCM_DEFER_INTS;
350 exec_delayed (in1);
351 // SCM_ALLOW_INTS;
353 return SCM_UNSPECIFIED;
357 tmg_exec_delayed_pause (SCM arg1) {
358 SCM_ASSERT_OBJECT (arg1, SCM_ARG1, "exec-delayed-pause");
360 object in1= scm_to_object (arg1);
362 // SCM_DEFER_INTS;
363 exec_delayed_pause (in1);
364 // SCM_ALLOW_INTS;
366 return SCM_UNSPECIFIED;
370 tmg_set_input_language (SCM arg1) {
371 SCM_ASSERT_STRING (arg1, SCM_ARG1, "set-input-language");
373 string in1= scm_to_string (arg1);
375 // SCM_DEFER_INTS;
376 set_input_language (in1);
377 // SCM_ALLOW_INTS;
379 return SCM_UNSPECIFIED;
383 tmg_get_input_language () {
384 // SCM_DEFER_INTS;
385 string out= get_input_language ();
386 // SCM_ALLOW_INTS;
388 return string_to_scm (out);
392 tmg_set_output_language (SCM arg1) {
393 SCM_ASSERT_STRING (arg1, SCM_ARG1, "set-output-language");
395 string in1= scm_to_string (arg1);
397 // SCM_DEFER_INTS;
398 gui_set_output_language (in1);
399 // SCM_ALLOW_INTS;
401 return SCM_UNSPECIFIED;
405 tmg_get_output_language () {
406 // SCM_DEFER_INTS;
407 string out= get_output_language ();
408 // SCM_ALLOW_INTS;
410 return string_to_scm (out);
414 tmg_translate (SCM arg1, SCM arg2, SCM arg3) {
415 SCM_ASSERT_STRING (arg1, SCM_ARG1, "translate");
416 SCM_ASSERT_STRING (arg2, SCM_ARG2, "translate");
417 SCM_ASSERT_STRING (arg3, SCM_ARG3, "translate");
419 string in1= scm_to_string (arg1);
420 string in2= scm_to_string (arg2);
421 string in3= scm_to_string (arg3);
423 // SCM_DEFER_INTS;
424 string out= translate (in1, in2, in3);
425 // SCM_ALLOW_INTS;
427 return string_to_scm (out);
431 tmg_color (SCM arg1) {
432 SCM_ASSERT_STRING (arg1, SCM_ARG1, "color");
434 string in1= scm_to_string (arg1);
436 // SCM_DEFER_INTS;
437 int out= named_color (in1);
438 // SCM_ALLOW_INTS;
440 return int_to_scm (out);
444 tmg_new_author () {
445 // SCM_DEFER_INTS;
446 double out= new_author ();
447 // SCM_ALLOW_INTS;
449 return double_to_scm (out);
453 tmg_set_author (SCM arg1) {
454 SCM_ASSERT_DOUBLE (arg1, SCM_ARG1, "set-author");
456 double in1= scm_to_double (arg1);
458 // SCM_DEFER_INTS;
459 set_author (in1);
460 // SCM_ALLOW_INTS;
462 return SCM_UNSPECIFIED;
466 tmg_get_author () {
467 // SCM_DEFER_INTS;
468 double out= get_author ();
469 // SCM_ALLOW_INTS;
471 return double_to_scm (out);
475 tmg_image_2psdoc (SCM arg1) {
476 SCM_ASSERT_URL (arg1, SCM_ARG1, "image->psdoc");
478 url in1= scm_to_url (arg1);
480 // SCM_DEFER_INTS;
481 string out= image_to_psdoc (in1);
482 // SCM_ALLOW_INTS;
484 return string_to_scm (out);
488 tmg_tree_2stree (SCM arg1) {
489 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree->stree");
491 tree in1= scm_to_tree (arg1);
493 // SCM_DEFER_INTS;
494 scheme_tree out= tree_to_scheme_tree (in1);
495 // SCM_ALLOW_INTS;
497 return scheme_tree_to_scm (out);
501 tmg_stree_2tree (SCM arg1) {
502 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "stree->tree");
504 scheme_tree in1= scm_to_scheme_tree (arg1);
506 // SCM_DEFER_INTS;
507 tree out= scheme_tree_to_tree (in1);
508 // SCM_ALLOW_INTS;
510 return tree_to_scm (out);
514 tmg_tree_2string (SCM arg1) {
515 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree->string");
517 tree in1= scm_to_tree (arg1);
519 // SCM_DEFER_INTS;
520 string out= coerce_tree_string (in1);
521 // SCM_ALLOW_INTS;
523 return string_to_scm (out);
527 tmg_string_2tree (SCM arg1) {
528 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string->tree");
530 string in1= scm_to_string (arg1);
532 // SCM_DEFER_INTS;
533 tree out= coerce_string_tree (in1);
534 // SCM_ALLOW_INTS;
536 return tree_to_scm (out);
540 tmg_tm_2tree (SCM arg1) {
541 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "tm->tree");
543 content in1= scm_to_content (arg1);
545 // SCM_DEFER_INTS;
546 tree out= tree (in1);
547 // SCM_ALLOW_INTS;
549 return tree_to_scm (out);
553 tmg_tree_atomicP (SCM arg1) {
554 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-atomic?");
556 tree in1= scm_to_tree (arg1);
558 // SCM_DEFER_INTS;
559 bool out= is_atomic (in1);
560 // SCM_ALLOW_INTS;
562 return bool_to_scm (out);
566 tmg_tree_compoundP (SCM arg1) {
567 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-compound?");
569 tree in1= scm_to_tree (arg1);
571 // SCM_DEFER_INTS;
572 bool out= is_compound (in1);
573 // SCM_ALLOW_INTS;
575 return bool_to_scm (out);
579 tmg_tree_label (SCM arg1) {
580 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-label");
582 tree in1= scm_to_tree (arg1);
584 // SCM_DEFER_INTS;
585 tree_label out= L (in1);
586 // SCM_ALLOW_INTS;
588 return tree_label_to_scm (out);
592 tmg_tree_children (SCM arg1) {
593 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-children");
595 tree in1= scm_to_tree (arg1);
597 // SCM_DEFER_INTS;
598 array_tree out= A (in1);
599 // SCM_ALLOW_INTS;
601 return array_tree_to_scm (out);
605 tmg_tree_arity (SCM arg1) {
606 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-arity");
608 tree in1= scm_to_tree (arg1);
610 // SCM_DEFER_INTS;
611 int out= N (in1);
612 // SCM_ALLOW_INTS;
614 return int_to_scm (out);
618 tmg_tree_child_ref (SCM arg1, SCM arg2) {
619 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-child-ref");
620 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-child-ref");
622 tree in1= scm_to_tree (arg1);
623 int in2= scm_to_int (arg2);
625 // SCM_DEFER_INTS;
626 tree out= tree_ref (in1, in2);
627 // SCM_ALLOW_INTS;
629 return tree_to_scm (out);
633 tmg_tree_child_setS (SCM arg1, SCM arg2, SCM arg3) {
634 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-child-set!");
635 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-child-set!");
636 SCM_ASSERT_CONTENT (arg3, SCM_ARG3, "tree-child-set!");
638 tree in1= scm_to_tree (arg1);
639 int in2= scm_to_int (arg2);
640 content in3= scm_to_content (arg3);
642 // SCM_DEFER_INTS;
643 tree out= tree_set (in1, in2, in3);
644 // SCM_ALLOW_INTS;
646 return tree_to_scm (out);
650 tmg_tree_child_insert (SCM arg1, SCM arg2, SCM arg3) {
651 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "tree-child-insert");
652 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-child-insert");
653 SCM_ASSERT_CONTENT (arg3, SCM_ARG3, "tree-child-insert");
655 content in1= scm_to_content (arg1);
656 int in2= scm_to_int (arg2);
657 content in3= scm_to_content (arg3);
659 // SCM_DEFER_INTS;
660 tree out= tree_child_insert (in1, in2, in3);
661 // SCM_ALLOW_INTS;
663 return tree_to_scm (out);
667 tmg_tree_ip (SCM arg1) {
668 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-ip");
670 tree in1= scm_to_tree (arg1);
672 // SCM_DEFER_INTS;
673 path out= obtain_ip (in1);
674 // SCM_ALLOW_INTS;
676 return path_to_scm (out);
680 tmg_tree_activeP (SCM arg1) {
681 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-active?");
683 tree in1= scm_to_tree (arg1);
685 // SCM_DEFER_INTS;
686 bool out= tree_active (in1);
687 // SCM_ALLOW_INTS;
689 return bool_to_scm (out);
693 tmg_tree_eqP (SCM arg1, SCM arg2) {
694 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-eq?");
695 SCM_ASSERT_TREE (arg2, SCM_ARG2, "tree-eq?");
697 tree in1= scm_to_tree (arg1);
698 tree in2= scm_to_tree (arg2);
700 // SCM_DEFER_INTS;
701 bool out= strong_equal (in1, in2);
702 // SCM_ALLOW_INTS;
704 return bool_to_scm (out);
708 tmg_subtree (SCM arg1, SCM arg2) {
709 SCM_ASSERT_TREE (arg1, SCM_ARG1, "subtree");
710 SCM_ASSERT_PATH (arg2, SCM_ARG2, "subtree");
712 tree in1= scm_to_tree (arg1);
713 path in2= scm_to_path (arg2);
715 // SCM_DEFER_INTS;
716 tree out= subtree (in1, in2);
717 // SCM_ALLOW_INTS;
719 return tree_to_scm (out);
723 tmg_tree_range (SCM arg1, SCM arg2, SCM arg3) {
724 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-range");
725 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-range");
726 SCM_ASSERT_INT (arg3, SCM_ARG3, "tree-range");
728 tree in1= scm_to_tree (arg1);
729 int in2= scm_to_int (arg2);
730 int in3= scm_to_int (arg3);
732 // SCM_DEFER_INTS;
733 tree out= tree_range (in1, in2, in3);
734 // SCM_ALLOW_INTS;
736 return tree_to_scm (out);
740 tmg_tree_copy (SCM arg1) {
741 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-copy");
743 tree in1= scm_to_tree (arg1);
745 // SCM_DEFER_INTS;
746 tree out= copy (in1);
747 // SCM_ALLOW_INTS;
749 return tree_to_scm (out);
753 tmg_tree_append (SCM arg1, SCM arg2) {
754 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-append");
755 SCM_ASSERT_TREE (arg2, SCM_ARG2, "tree-append");
757 tree in1= scm_to_tree (arg1);
758 tree in2= scm_to_tree (arg2);
760 // SCM_DEFER_INTS;
761 tree out= tree_append (in1, in2);
762 // SCM_ALLOW_INTS;
764 return tree_to_scm (out);
768 tmg_tree_right_index (SCM arg1) {
769 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-right-index");
771 tree in1= scm_to_tree (arg1);
773 // SCM_DEFER_INTS;
774 int out= right_index (in1);
775 // SCM_ALLOW_INTS;
777 return int_to_scm (out);
781 tmg_tree_label_extensionP (SCM arg1) {
782 SCM_ASSERT_TREE_LABEL (arg1, SCM_ARG1, "tree-label-extension?");
784 tree_label in1= scm_to_tree_label (arg1);
786 // SCM_DEFER_INTS;
787 bool out= is_extension (in1);
788 // SCM_ALLOW_INTS;
790 return bool_to_scm (out);
794 tmg_tree_multi_paragraphP (SCM arg1) {
795 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-multi-paragraph?");
797 tree in1= scm_to_tree (arg1);
799 // SCM_DEFER_INTS;
800 bool out= is_multi_paragraph (in1);
801 // SCM_ALLOW_INTS;
803 return bool_to_scm (out);
807 tmg_tree_simplify (SCM arg1) {
808 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-simplify");
810 tree in1= scm_to_tree (arg1);
812 // SCM_DEFER_INTS;
813 tree out= simplify_correct (in1);
814 // SCM_ALLOW_INTS;
816 return tree_to_scm (out);
820 tmg_tree_accessible_childP (SCM arg1, SCM arg2) {
821 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-accessible-child?");
822 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-accessible-child?");
824 tree in1= scm_to_tree (arg1);
825 int in2= scm_to_int (arg2);
827 // SCM_DEFER_INTS;
828 bool out= is_accessible_child (in1, in2);
829 // SCM_ALLOW_INTS;
831 return bool_to_scm (out);
835 tmg_tree_accessible_children (SCM arg1) {
836 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-accessible-children");
838 tree in1= scm_to_tree (arg1);
840 // SCM_DEFER_INTS;
841 array_tree out= accessible_children (in1);
842 // SCM_ALLOW_INTS;
844 return array_tree_to_scm (out);
848 tmg_tree_load_inclusion (SCM arg1) {
849 SCM_ASSERT_URL (arg1, SCM_ARG1, "tree-load-inclusion");
851 url in1= scm_to_url (arg1);
853 // SCM_DEFER_INTS;
854 tree out= load_inclusion (in1);
855 // SCM_ALLOW_INTS;
857 return tree_to_scm (out);
861 tmg_tree_as_string (SCM arg1) {
862 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-as-string");
864 tree in1= scm_to_tree (arg1);
866 // SCM_DEFER_INTS;
867 string out= var_as_string (in1);
868 // SCM_ALLOW_INTS;
870 return string_to_scm (out);
874 tmg_tree_extents (SCM arg1) {
875 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "tree-extents");
877 content in1= scm_to_content (arg1);
879 // SCM_DEFER_INTS;
880 tree out= tree_extents (in1);
881 // SCM_ALLOW_INTS;
883 return tree_to_scm (out);
887 tmg_tree_emptyP (SCM arg1) {
888 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "tree-empty?");
890 content in1= scm_to_content (arg1);
892 // SCM_DEFER_INTS;
893 bool out= is_empty (in1);
894 // SCM_ALLOW_INTS;
896 return bool_to_scm (out);
900 tmg_tree_assign (SCM arg1, SCM arg2) {
901 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-assign");
902 SCM_ASSERT_CONTENT (arg2, SCM_ARG2, "tree-assign");
904 tree in1= scm_to_tree (arg1);
905 content in2= scm_to_content (arg2);
907 // SCM_DEFER_INTS;
908 tree out= tree_assign (in1, in2);
909 // SCM_ALLOW_INTS;
911 return tree_to_scm (out);
915 tmg_tree_var_insert (SCM arg1, SCM arg2, SCM arg3) {
916 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-var-insert");
917 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-var-insert");
918 SCM_ASSERT_CONTENT (arg3, SCM_ARG3, "tree-var-insert");
920 tree in1= scm_to_tree (arg1);
921 int in2= scm_to_int (arg2);
922 content in3= scm_to_content (arg3);
924 // SCM_DEFER_INTS;
925 tree out= tree_insert (in1, in2, in3);
926 // SCM_ALLOW_INTS;
928 return tree_to_scm (out);
932 tmg_tree_remove (SCM arg1, SCM arg2, SCM arg3) {
933 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-remove");
934 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-remove");
935 SCM_ASSERT_INT (arg3, SCM_ARG3, "tree-remove");
937 tree in1= scm_to_tree (arg1);
938 int in2= scm_to_int (arg2);
939 int in3= scm_to_int (arg3);
941 // SCM_DEFER_INTS;
942 tree out= tree_remove (in1, in2, in3);
943 // SCM_ALLOW_INTS;
945 return tree_to_scm (out);
949 tmg_tree_split (SCM arg1, SCM arg2, SCM arg3) {
950 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-split");
951 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-split");
952 SCM_ASSERT_INT (arg3, SCM_ARG3, "tree-split");
954 tree in1= scm_to_tree (arg1);
955 int in2= scm_to_int (arg2);
956 int in3= scm_to_int (arg3);
958 // SCM_DEFER_INTS;
959 tree out= tree_split (in1, in2, in3);
960 // SCM_ALLOW_INTS;
962 return tree_to_scm (out);
966 tmg_tree_join (SCM arg1, SCM arg2) {
967 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-join");
968 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-join");
970 tree in1= scm_to_tree (arg1);
971 int in2= scm_to_int (arg2);
973 // SCM_DEFER_INTS;
974 tree out= tree_join (in1, in2);
975 // SCM_ALLOW_INTS;
977 return tree_to_scm (out);
981 tmg_tree_assign_node (SCM arg1, SCM arg2) {
982 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-assign-node");
983 SCM_ASSERT_TREE_LABEL (arg2, SCM_ARG2, "tree-assign-node");
985 tree in1= scm_to_tree (arg1);
986 tree_label in2= scm_to_tree_label (arg2);
988 // SCM_DEFER_INTS;
989 tree out= tree_assign_node (in1, in2);
990 // SCM_ALLOW_INTS;
992 return tree_to_scm (out);
996 tmg_tree_insert_node (SCM arg1, SCM arg2, SCM arg3) {
997 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-insert-node");
998 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-insert-node");
999 SCM_ASSERT_CONTENT (arg3, SCM_ARG3, "tree-insert-node");
1001 tree in1= scm_to_tree (arg1);
1002 int in2= scm_to_int (arg2);
1003 content in3= scm_to_content (arg3);
1005 // SCM_DEFER_INTS;
1006 tree out= tree_insert_node (in1, in2, in3);
1007 // SCM_ALLOW_INTS;
1009 return tree_to_scm (out);
1013 tmg_tree_remove_node (SCM arg1, SCM arg2) {
1014 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree-remove-node");
1015 SCM_ASSERT_INT (arg2, SCM_ARG2, "tree-remove-node");
1017 tree in1= scm_to_tree (arg1);
1018 int in2= scm_to_int (arg2);
1020 // SCM_DEFER_INTS;
1021 tree out= tree_remove_node (in1, in2);
1022 // SCM_ALLOW_INTS;
1024 return tree_to_scm (out);
1028 tmg_path_infP (SCM arg1, SCM arg2) {
1029 SCM_ASSERT_PATH (arg1, SCM_ARG1, "path-inf?");
1030 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-inf?");
1032 path in1= scm_to_path (arg1);
1033 path in2= scm_to_path (arg2);
1035 // SCM_DEFER_INTS;
1036 bool out= path_inf (in1, in2);
1037 // SCM_ALLOW_INTS;
1039 return bool_to_scm (out);
1043 tmg_path_inf_eqP (SCM arg1, SCM arg2) {
1044 SCM_ASSERT_PATH (arg1, SCM_ARG1, "path-inf-eq?");
1045 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-inf-eq?");
1047 path in1= scm_to_path (arg1);
1048 path in2= scm_to_path (arg2);
1050 // SCM_DEFER_INTS;
1051 bool out= path_inf_eq (in1, in2);
1052 // SCM_ALLOW_INTS;
1054 return bool_to_scm (out);
1058 tmg_path_lessP (SCM arg1, SCM arg2) {
1059 SCM_ASSERT_PATH (arg1, SCM_ARG1, "path-less?");
1060 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-less?");
1062 path in1= scm_to_path (arg1);
1063 path in2= scm_to_path (arg2);
1065 // SCM_DEFER_INTS;
1066 bool out= path_less (in1, in2);
1067 // SCM_ALLOW_INTS;
1069 return bool_to_scm (out);
1073 tmg_path_less_eqP (SCM arg1, SCM arg2) {
1074 SCM_ASSERT_PATH (arg1, SCM_ARG1, "path-less-eq?");
1075 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-less-eq?");
1077 path in1= scm_to_path (arg1);
1078 path in2= scm_to_path (arg2);
1080 // SCM_DEFER_INTS;
1081 bool out= path_less_eq (in1, in2);
1082 // SCM_ALLOW_INTS;
1084 return bool_to_scm (out);
1088 tmg_path_start (SCM arg1, SCM arg2) {
1089 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-start");
1090 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-start");
1092 content in1= scm_to_content (arg1);
1093 path in2= scm_to_path (arg2);
1095 // SCM_DEFER_INTS;
1096 path out= start (in1, in2);
1097 // SCM_ALLOW_INTS;
1099 return path_to_scm (out);
1103 tmg_path_end (SCM arg1, SCM arg2) {
1104 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-end");
1105 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-end");
1107 content in1= scm_to_content (arg1);
1108 path in2= scm_to_path (arg2);
1110 // SCM_DEFER_INTS;
1111 path out= end (in1, in2);
1112 // SCM_ALLOW_INTS;
1114 return path_to_scm (out);
1118 tmg_path_next (SCM arg1, SCM arg2) {
1119 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-next");
1120 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-next");
1122 content in1= scm_to_content (arg1);
1123 path in2= scm_to_path (arg2);
1125 // SCM_DEFER_INTS;
1126 path out= next_valid (in1, in2);
1127 // SCM_ALLOW_INTS;
1129 return path_to_scm (out);
1133 tmg_path_previous (SCM arg1, SCM arg2) {
1134 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-previous");
1135 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-previous");
1137 content in1= scm_to_content (arg1);
1138 path in2= scm_to_path (arg2);
1140 // SCM_DEFER_INTS;
1141 path out= previous_valid (in1, in2);
1142 // SCM_ALLOW_INTS;
1144 return path_to_scm (out);
1148 tmg_path_next_word (SCM arg1, SCM arg2) {
1149 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-next-word");
1150 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-next-word");
1152 content in1= scm_to_content (arg1);
1153 path in2= scm_to_path (arg2);
1155 // SCM_DEFER_INTS;
1156 path out= next_word (in1, in2);
1157 // SCM_ALLOW_INTS;
1159 return path_to_scm (out);
1163 tmg_path_previous_word (SCM arg1, SCM arg2) {
1164 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-previous-word");
1165 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-previous-word");
1167 content in1= scm_to_content (arg1);
1168 path in2= scm_to_path (arg2);
1170 // SCM_DEFER_INTS;
1171 path out= previous_word (in1, in2);
1172 // SCM_ALLOW_INTS;
1174 return path_to_scm (out);
1178 tmg_path_next_node (SCM arg1, SCM arg2) {
1179 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-next-node");
1180 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-next-node");
1182 content in1= scm_to_content (arg1);
1183 path in2= scm_to_path (arg2);
1185 // SCM_DEFER_INTS;
1186 path out= next_node (in1, in2);
1187 // SCM_ALLOW_INTS;
1189 return path_to_scm (out);
1193 tmg_path_previous_node (SCM arg1, SCM arg2) {
1194 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-previous-node");
1195 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-previous-node");
1197 content in1= scm_to_content (arg1);
1198 path in2= scm_to_path (arg2);
1200 // SCM_DEFER_INTS;
1201 path out= previous_node (in1, in2);
1202 // SCM_ALLOW_INTS;
1204 return path_to_scm (out);
1208 tmg_path_next_tag (SCM arg1, SCM arg2, SCM arg3) {
1209 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-next-tag");
1210 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-next-tag");
1211 SCM_ASSERT_SCHEME_TREE (arg3, SCM_ARG3, "path-next-tag");
1213 content in1= scm_to_content (arg1);
1214 path in2= scm_to_path (arg2);
1215 scheme_tree in3= scm_to_scheme_tree (arg3);
1217 // SCM_DEFER_INTS;
1218 path out= next_tag (in1, in2, in3);
1219 // SCM_ALLOW_INTS;
1221 return path_to_scm (out);
1225 tmg_path_previous_tag (SCM arg1, SCM arg2, SCM arg3) {
1226 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-previous-tag");
1227 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-previous-tag");
1228 SCM_ASSERT_SCHEME_TREE (arg3, SCM_ARG3, "path-previous-tag");
1230 content in1= scm_to_content (arg1);
1231 path in2= scm_to_path (arg2);
1232 scheme_tree in3= scm_to_scheme_tree (arg3);
1234 // SCM_DEFER_INTS;
1235 path out= previous_tag (in1, in2, in3);
1236 // SCM_ALLOW_INTS;
1238 return path_to_scm (out);
1242 tmg_path_next_tag_same_argument (SCM arg1, SCM arg2, SCM arg3) {
1243 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-next-tag-same-argument");
1244 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-next-tag-same-argument");
1245 SCM_ASSERT_SCHEME_TREE (arg3, SCM_ARG3, "path-next-tag-same-argument");
1247 content in1= scm_to_content (arg1);
1248 path in2= scm_to_path (arg2);
1249 scheme_tree in3= scm_to_scheme_tree (arg3);
1251 // SCM_DEFER_INTS;
1252 path out= next_tag_same_argument (in1, in2, in3);
1253 // SCM_ALLOW_INTS;
1255 return path_to_scm (out);
1259 tmg_path_previous_tag_same_argument (SCM arg1, SCM arg2, SCM arg3) {
1260 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-previous-tag-same-argument");
1261 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-previous-tag-same-argument");
1262 SCM_ASSERT_SCHEME_TREE (arg3, SCM_ARG3, "path-previous-tag-same-argument");
1264 content in1= scm_to_content (arg1);
1265 path in2= scm_to_path (arg2);
1266 scheme_tree in3= scm_to_scheme_tree (arg3);
1268 // SCM_DEFER_INTS;
1269 path out= previous_tag_same_argument (in1, in2, in3);
1270 // SCM_ALLOW_INTS;
1272 return path_to_scm (out);
1276 tmg_path_next_argument (SCM arg1, SCM arg2) {
1277 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-next-argument");
1278 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-next-argument");
1280 content in1= scm_to_content (arg1);
1281 path in2= scm_to_path (arg2);
1283 // SCM_DEFER_INTS;
1284 path out= next_argument (in1, in2);
1285 // SCM_ALLOW_INTS;
1287 return path_to_scm (out);
1291 tmg_path_previous_argument (SCM arg1, SCM arg2) {
1292 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "path-previous-argument");
1293 SCM_ASSERT_PATH (arg2, SCM_ARG2, "path-previous-argument");
1295 content in1= scm_to_content (arg1);
1296 path in2= scm_to_path (arg2);
1298 // SCM_DEFER_INTS;
1299 path out= previous_argument (in1, in2);
1300 // SCM_ALLOW_INTS;
1302 return path_to_scm (out);
1306 tmg_tree_2ids (SCM arg1) {
1307 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree->ids");
1309 tree in1= scm_to_tree (arg1);
1311 // SCM_DEFER_INTS;
1312 list_string out= get_ids (in1);
1313 // SCM_ALLOW_INTS;
1315 return list_string_to_scm (out);
1319 tmg_id_2trees (SCM arg1) {
1320 SCM_ASSERT_STRING (arg1, SCM_ARG1, "id->trees");
1322 string in1= scm_to_string (arg1);
1324 // SCM_DEFER_INTS;
1325 list_tree out= get_trees (in1);
1326 // SCM_ALLOW_INTS;
1328 return list_tree_to_scm (out);
1332 tmg_vertex_2links (SCM arg1) {
1333 SCM_ASSERT_CONTENT (arg1, SCM_ARG1, "vertex->links");
1335 content in1= scm_to_content (arg1);
1337 // SCM_DEFER_INTS;
1338 list_tree out= get_links (in1);
1339 // SCM_ALLOW_INTS;
1341 return list_tree_to_scm (out);
1345 tmg_tree_2tree_pointer (SCM arg1) {
1346 SCM_ASSERT_TREE (arg1, SCM_ARG1, "tree->tree-pointer");
1348 tree in1= scm_to_tree (arg1);
1350 // SCM_DEFER_INTS;
1351 observer out= tree_pointer_new (in1);
1352 // SCM_ALLOW_INTS;
1354 return observer_to_scm (out);
1358 tmg_tree_pointer_detach (SCM arg1) {
1359 SCM_ASSERT_OBSERVER (arg1, SCM_ARG1, "tree-pointer-detach");
1361 observer in1= scm_to_observer (arg1);
1363 // SCM_DEFER_INTS;
1364 tree_pointer_delete (in1);
1365 // SCM_ALLOW_INTS;
1367 return SCM_UNSPECIFIED;
1371 tmg_tree_pointer_2tree (SCM arg1) {
1372 SCM_ASSERT_OBSERVER (arg1, SCM_ARG1, "tree-pointer->tree");
1374 observer in1= scm_to_observer (arg1);
1376 // SCM_DEFER_INTS;
1377 tree out= obtain_tree (in1);
1378 // SCM_ALLOW_INTS;
1380 return tree_to_scm (out);
1384 tmg_current_link_types () {
1385 // SCM_DEFER_INTS;
1386 list_string out= all_link_types ();
1387 // SCM_ALLOW_INTS;
1389 return list_string_to_scm (out);
1393 tmg_get_locus_rendering (SCM arg1) {
1394 SCM_ASSERT_STRING (arg1, SCM_ARG1, "get-locus-rendering");
1396 string in1= scm_to_string (arg1);
1398 // SCM_DEFER_INTS;
1399 string out= get_locus_rendering (in1);
1400 // SCM_ALLOW_INTS;
1402 return string_to_scm (out);
1406 tmg_set_locus_rendering (SCM arg1, SCM arg2) {
1407 SCM_ASSERT_STRING (arg1, SCM_ARG1, "set-locus-rendering");
1408 SCM_ASSERT_STRING (arg2, SCM_ARG2, "set-locus-rendering");
1410 string in1= scm_to_string (arg1);
1411 string in2= scm_to_string (arg2);
1413 // SCM_DEFER_INTS;
1414 set_locus_rendering (in1, in2);
1415 // SCM_ALLOW_INTS;
1417 return SCM_UNSPECIFIED;
1421 tmg_declare_visited (SCM arg1) {
1422 SCM_ASSERT_STRING (arg1, SCM_ARG1, "declare-visited");
1424 string in1= scm_to_string (arg1);
1426 // SCM_DEFER_INTS;
1427 declare_visited (in1);
1428 // SCM_ALLOW_INTS;
1430 return SCM_UNSPECIFIED;
1434 tmg_has_been_visitedP (SCM arg1) {
1435 SCM_ASSERT_STRING (arg1, SCM_ARG1, "has-been-visited?");
1437 string in1= scm_to_string (arg1);
1439 // SCM_DEFER_INTS;
1440 bool out= has_been_visited (in1);
1441 // SCM_ALLOW_INTS;
1443 return bool_to_scm (out);
1447 tmg_string_numberP (SCM arg1) {
1448 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-number?");
1450 string in1= scm_to_string (arg1);
1452 // SCM_DEFER_INTS;
1453 bool out= is_double (in1);
1454 // SCM_ALLOW_INTS;
1456 return bool_to_scm (out);
1460 tmg_string_search_forwards (SCM arg1, SCM arg2, SCM arg3) {
1461 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-search-forwards");
1462 SCM_ASSERT_INT (arg2, SCM_ARG2, "string-search-forwards");
1463 SCM_ASSERT_STRING (arg3, SCM_ARG3, "string-search-forwards");
1465 string in1= scm_to_string (arg1);
1466 int in2= scm_to_int (arg2);
1467 string in3= scm_to_string (arg3);
1469 // SCM_DEFER_INTS;
1470 int out= search_forwards (in1, in2, in3);
1471 // SCM_ALLOW_INTS;
1473 return int_to_scm (out);
1477 tmg_string_search_backwards (SCM arg1, SCM arg2, SCM arg3) {
1478 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-search-backwards");
1479 SCM_ASSERT_INT (arg2, SCM_ARG2, "string-search-backwards");
1480 SCM_ASSERT_STRING (arg3, SCM_ARG3, "string-search-backwards");
1482 string in1= scm_to_string (arg1);
1483 int in2= scm_to_int (arg2);
1484 string in3= scm_to_string (arg3);
1486 // SCM_DEFER_INTS;
1487 int out= search_backwards (in1, in2, in3);
1488 // SCM_ALLOW_INTS;
1490 return int_to_scm (out);
1494 tmg_string_replace (SCM arg1, SCM arg2, SCM arg3) {
1495 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-replace");
1496 SCM_ASSERT_STRING (arg2, SCM_ARG2, "string-replace");
1497 SCM_ASSERT_STRING (arg3, SCM_ARG3, "string-replace");
1499 string in1= scm_to_string (arg1);
1500 string in2= scm_to_string (arg2);
1501 string in3= scm_to_string (arg3);
1503 // SCM_DEFER_INTS;
1504 string out= replace (in1, in2, in3);
1505 // SCM_ALLOW_INTS;
1507 return string_to_scm (out);
1511 tmg_string_locase_alphaP (SCM arg1) {
1512 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-locase-alpha?");
1514 string in1= scm_to_string (arg1);
1516 // SCM_DEFER_INTS;
1517 bool out= is_locase_alpha (in1);
1518 // SCM_ALLOW_INTS;
1520 return bool_to_scm (out);
1524 tmg_upcase_first (SCM arg1) {
1525 SCM_ASSERT_STRING (arg1, SCM_ARG1, "upcase-first");
1527 string in1= scm_to_string (arg1);
1529 // SCM_DEFER_INTS;
1530 string out= upcase_first (in1);
1531 // SCM_ALLOW_INTS;
1533 return string_to_scm (out);
1537 tmg_locase_first (SCM arg1) {
1538 SCM_ASSERT_STRING (arg1, SCM_ARG1, "locase-first");
1540 string in1= scm_to_string (arg1);
1542 // SCM_DEFER_INTS;
1543 string out= locase_first (in1);
1544 // SCM_ALLOW_INTS;
1546 return string_to_scm (out);
1550 tmg_upcase_all (SCM arg1) {
1551 SCM_ASSERT_STRING (arg1, SCM_ARG1, "upcase-all");
1553 string in1= scm_to_string (arg1);
1555 // SCM_DEFER_INTS;
1556 string out= upcase_all (in1);
1557 // SCM_ALLOW_INTS;
1559 return string_to_scm (out);
1563 tmg_locase_all (SCM arg1) {
1564 SCM_ASSERT_STRING (arg1, SCM_ARG1, "locase-all");
1566 string in1= scm_to_string (arg1);
1568 // SCM_DEFER_INTS;
1569 string out= locase_all (in1);
1570 // SCM_ALLOW_INTS;
1572 return string_to_scm (out);
1576 tmg_string_union (SCM arg1, SCM arg2) {
1577 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-union");
1578 SCM_ASSERT_STRING (arg2, SCM_ARG2, "string-union");
1580 string in1= scm_to_string (arg1);
1581 string in2= scm_to_string (arg2);
1583 // SCM_DEFER_INTS;
1584 string out= string_union (in1, in2);
1585 // SCM_ALLOW_INTS;
1587 return string_to_scm (out);
1591 tmg_string_minus (SCM arg1, SCM arg2) {
1592 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-minus");
1593 SCM_ASSERT_STRING (arg2, SCM_ARG2, "string-minus");
1595 string in1= scm_to_string (arg1);
1596 string in2= scm_to_string (arg2);
1598 // SCM_DEFER_INTS;
1599 string out= string_minus (in1, in2);
1600 // SCM_ALLOW_INTS;
1602 return string_to_scm (out);
1606 tmg_string_encode (SCM arg1) {
1607 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-encode");
1609 string in1= scm_to_string (arg1);
1611 // SCM_DEFER_INTS;
1612 string out= tm_encode (in1);
1613 // SCM_ALLOW_INTS;
1615 return string_to_scm (out);
1619 tmg_string_decode (SCM arg1) {
1620 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-decode");
1622 string in1= scm_to_string (arg1);
1624 // SCM_DEFER_INTS;
1625 string out= tm_decode (in1);
1626 // SCM_ALLOW_INTS;
1628 return string_to_scm (out);
1632 tmg_escape_generic (SCM arg1) {
1633 SCM_ASSERT_STRING (arg1, SCM_ARG1, "escape-generic");
1635 string in1= scm_to_string (arg1);
1637 // SCM_DEFER_INTS;
1638 string out= escape_generic (in1);
1639 // SCM_ALLOW_INTS;
1641 return string_to_scm (out);
1645 tmg_escape_verbatim (SCM arg1) {
1646 SCM_ASSERT_STRING (arg1, SCM_ARG1, "escape-verbatim");
1648 string in1= scm_to_string (arg1);
1650 // SCM_DEFER_INTS;
1651 string out= escape_verbatim (in1);
1652 // SCM_ALLOW_INTS;
1654 return string_to_scm (out);
1658 tmg_escape_shell (SCM arg1) {
1659 SCM_ASSERT_STRING (arg1, SCM_ARG1, "escape-shell");
1661 string in1= scm_to_string (arg1);
1663 // SCM_DEFER_INTS;
1664 string out= escape_sh (in1);
1665 // SCM_ALLOW_INTS;
1667 return string_to_scm (out);
1671 tmg_string_convert (SCM arg1, SCM arg2, SCM arg3) {
1672 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-convert");
1673 SCM_ASSERT_STRING (arg2, SCM_ARG2, "string-convert");
1674 SCM_ASSERT_STRING (arg3, SCM_ARG3, "string-convert");
1676 string in1= scm_to_string (arg1);
1677 string in2= scm_to_string (arg2);
1678 string in3= scm_to_string (arg3);
1680 // SCM_DEFER_INTS;
1681 string out= convert (in1, in2, in3);
1682 // SCM_ALLOW_INTS;
1684 return string_to_scm (out);
1688 tmg_utf8_2cork (SCM arg1) {
1689 SCM_ASSERT_STRING (arg1, SCM_ARG1, "utf8->cork");
1691 string in1= scm_to_string (arg1);
1693 // SCM_DEFER_INTS;
1694 string out= utf8_to_cork (in1);
1695 // SCM_ALLOW_INTS;
1697 return string_to_scm (out);
1701 tmg_cork_2utf8 (SCM arg1) {
1702 SCM_ASSERT_STRING (arg1, SCM_ARG1, "cork->utf8");
1704 string in1= scm_to_string (arg1);
1706 // SCM_DEFER_INTS;
1707 string out= cork_to_utf8 (in1);
1708 // SCM_ALLOW_INTS;
1710 return string_to_scm (out);
1714 tmg_utf8_2html (SCM arg1) {
1715 SCM_ASSERT_STRING (arg1, SCM_ARG1, "utf8->html");
1717 string in1= scm_to_string (arg1);
1719 // SCM_DEFER_INTS;
1720 string out= utf8_to_html (in1);
1721 // SCM_ALLOW_INTS;
1723 return string_to_scm (out);
1727 tmg_tm_2xml_name (SCM arg1) {
1728 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tm->xml-name");
1730 string in1= scm_to_string (arg1);
1732 // SCM_DEFER_INTS;
1733 string out= tm_to_xml_name (in1);
1734 // SCM_ALLOW_INTS;
1736 return string_to_scm (out);
1740 tmg_old_tm_2xml_cdata (SCM arg1) {
1741 SCM_ASSERT_STRING (arg1, SCM_ARG1, "old-tm->xml-cdata");
1743 string in1= scm_to_string (arg1);
1745 // SCM_DEFER_INTS;
1746 string out= old_tm_to_xml_cdata (in1);
1747 // SCM_ALLOW_INTS;
1749 return string_to_scm (out);
1753 tmg_tm_2xml_cdata (SCM arg1) {
1754 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tm->xml-cdata");
1756 string in1= scm_to_string (arg1);
1758 // SCM_DEFER_INTS;
1759 object out= tm_to_xml_cdata (in1);
1760 // SCM_ALLOW_INTS;
1762 return object_to_scm (out);
1766 tmg_xml_name_2tm (SCM arg1) {
1767 SCM_ASSERT_STRING (arg1, SCM_ARG1, "xml-name->tm");
1769 string in1= scm_to_string (arg1);
1771 // SCM_DEFER_INTS;
1772 string out= xml_name_to_tm (in1);
1773 // SCM_ALLOW_INTS;
1775 return string_to_scm (out);
1779 tmg_old_xml_cdata_2tm (SCM arg1) {
1780 SCM_ASSERT_STRING (arg1, SCM_ARG1, "old-xml-cdata->tm");
1782 string in1= scm_to_string (arg1);
1784 // SCM_DEFER_INTS;
1785 string out= old_xml_cdata_to_tm (in1);
1786 // SCM_ALLOW_INTS;
1788 return string_to_scm (out);
1792 tmg_xml_unspace (SCM arg1, SCM arg2, SCM arg3) {
1793 SCM_ASSERT_STRING (arg1, SCM_ARG1, "xml-unspace");
1794 SCM_ASSERT_BOOL (arg2, SCM_ARG2, "xml-unspace");
1795 SCM_ASSERT_BOOL (arg3, SCM_ARG3, "xml-unspace");
1797 string in1= scm_to_string (arg1);
1798 bool in2= scm_to_bool (arg2);
1799 bool in3= scm_to_bool (arg3);
1801 // SCM_DEFER_INTS;
1802 string out= xml_unspace (in1, in2, in3);
1803 // SCM_ALLOW_INTS;
1805 return string_to_scm (out);
1809 tmg_define_grammar_rule (SCM arg1, SCM arg2) {
1810 SCM_ASSERT_TREE (arg1, SCM_ARG1, "define-grammar-rule");
1811 SCM_ASSERT_TREE (arg2, SCM_ARG2, "define-grammar-rule");
1813 tree in1= scm_to_tree (arg1);
1814 tree in2= scm_to_tree (arg2);
1816 // SCM_DEFER_INTS;
1817 define_grammar_rule (in1, in2);
1818 // SCM_ALLOW_INTS;
1820 return SCM_UNSPECIFIED;
1824 tmg_grammar_parse (SCM arg1, SCM arg2) {
1825 SCM_ASSERT_TREE (arg1, SCM_ARG1, "grammar-parse");
1826 SCM_ASSERT_STRING (arg2, SCM_ARG2, "grammar-parse");
1828 tree in1= scm_to_tree (arg1);
1829 string in2= scm_to_string (arg2);
1831 // SCM_DEFER_INTS;
1832 int out= grammar_parse (in1, in2);
1833 // SCM_ALLOW_INTS;
1835 return int_to_scm (out);
1839 tmg_parse_texmacs (SCM arg1) {
1840 SCM_ASSERT_STRING (arg1, SCM_ARG1, "parse-texmacs");
1842 string in1= scm_to_string (arg1);
1844 // SCM_DEFER_INTS;
1845 tree out= texmacs_document_to_tree (in1);
1846 // SCM_ALLOW_INTS;
1848 return tree_to_scm (out);
1852 tmg_serialize_texmacs (SCM arg1) {
1853 SCM_ASSERT_TREE (arg1, SCM_ARG1, "serialize-texmacs");
1855 tree in1= scm_to_tree (arg1);
1857 // SCM_DEFER_INTS;
1858 string out= tree_to_texmacs (in1);
1859 // SCM_ALLOW_INTS;
1861 return string_to_scm (out);
1865 tmg_parse_texmacs_snippet (SCM arg1) {
1866 SCM_ASSERT_STRING (arg1, SCM_ARG1, "parse-texmacs-snippet");
1868 string in1= scm_to_string (arg1);
1870 // SCM_DEFER_INTS;
1871 tree out= texmacs_to_tree (in1);
1872 // SCM_ALLOW_INTS;
1874 return tree_to_scm (out);
1878 tmg_serialize_texmacs_snippet (SCM arg1) {
1879 SCM_ASSERT_TREE (arg1, SCM_ARG1, "serialize-texmacs-snippet");
1881 tree in1= scm_to_tree (arg1);
1883 // SCM_DEFER_INTS;
1884 string out= tree_to_texmacs (in1);
1885 // SCM_ALLOW_INTS;
1887 return string_to_scm (out);
1891 tmg_texmacs_2stm (SCM arg1) {
1892 SCM_ASSERT_TREE (arg1, SCM_ARG1, "texmacs->stm");
1894 tree in1= scm_to_tree (arg1);
1896 // SCM_DEFER_INTS;
1897 string out= tree_to_scheme (in1);
1898 // SCM_ALLOW_INTS;
1900 return string_to_scm (out);
1904 tmg_stm_2texmacs (SCM arg1) {
1905 SCM_ASSERT_STRING (arg1, SCM_ARG1, "stm->texmacs");
1907 string in1= scm_to_string (arg1);
1909 // SCM_DEFER_INTS;
1910 tree out= scheme_document_to_tree (in1);
1911 // SCM_ALLOW_INTS;
1913 return tree_to_scm (out);
1917 tmg_stm_snippet_2texmacs (SCM arg1) {
1918 SCM_ASSERT_STRING (arg1, SCM_ARG1, "stm-snippet->texmacs");
1920 string in1= scm_to_string (arg1);
1922 // SCM_DEFER_INTS;
1923 tree out= scheme_to_tree (in1);
1924 // SCM_ALLOW_INTS;
1926 return tree_to_scm (out);
1930 tmg_cpp_texmacs_2verbatim (SCM arg1, SCM arg2, SCM arg3) {
1931 SCM_ASSERT_TREE (arg1, SCM_ARG1, "cpp-texmacs->verbatim");
1932 SCM_ASSERT_BOOL (arg2, SCM_ARG2, "cpp-texmacs->verbatim");
1933 SCM_ASSERT_STRING (arg3, SCM_ARG3, "cpp-texmacs->verbatim");
1935 tree in1= scm_to_tree (arg1);
1936 bool in2= scm_to_bool (arg2);
1937 string in3= scm_to_string (arg3);
1939 // SCM_DEFER_INTS;
1940 string out= tree_to_verbatim (in1, in2, in3);
1941 // SCM_ALLOW_INTS;
1943 return string_to_scm (out);
1947 tmg_cpp_verbatim_snippet_2texmacs (SCM arg1, SCM arg2, SCM arg3) {
1948 SCM_ASSERT_STRING (arg1, SCM_ARG1, "cpp-verbatim-snippet->texmacs");
1949 SCM_ASSERT_BOOL (arg2, SCM_ARG2, "cpp-verbatim-snippet->texmacs");
1950 SCM_ASSERT_STRING (arg3, SCM_ARG3, "cpp-verbatim-snippet->texmacs");
1952 string in1= scm_to_string (arg1);
1953 bool in2= scm_to_bool (arg2);
1954 string in3= scm_to_string (arg3);
1956 // SCM_DEFER_INTS;
1957 tree out= verbatim_to_tree (in1, in2, in3);
1958 // SCM_ALLOW_INTS;
1960 return tree_to_scm (out);
1964 tmg_cpp_verbatim_2texmacs (SCM arg1, SCM arg2, SCM arg3) {
1965 SCM_ASSERT_STRING (arg1, SCM_ARG1, "cpp-verbatim->texmacs");
1966 SCM_ASSERT_BOOL (arg2, SCM_ARG2, "cpp-verbatim->texmacs");
1967 SCM_ASSERT_STRING (arg3, SCM_ARG3, "cpp-verbatim->texmacs");
1969 string in1= scm_to_string (arg1);
1970 bool in2= scm_to_bool (arg2);
1971 string in3= scm_to_string (arg3);
1973 // SCM_DEFER_INTS;
1974 tree out= verbatim_document_to_tree (in1, in2, in3);
1975 // SCM_ALLOW_INTS;
1977 return tree_to_scm (out);
1981 tmg_parse_latex (SCM arg1) {
1982 SCM_ASSERT_STRING (arg1, SCM_ARG1, "parse-latex");
1984 string in1= scm_to_string (arg1);
1986 // SCM_DEFER_INTS;
1987 tree out= parse_latex (in1);
1988 // SCM_ALLOW_INTS;
1990 return tree_to_scm (out);
1994 tmg_parse_latex_document (SCM arg1) {
1995 SCM_ASSERT_STRING (arg1, SCM_ARG1, "parse-latex-document");
1997 string in1= scm_to_string (arg1);
1999 // SCM_DEFER_INTS;
2000 tree out= parse_latex_document (in1);
2001 // SCM_ALLOW_INTS;
2003 return tree_to_scm (out);
2007 tmg_latex_2texmacs (SCM arg1) {
2008 SCM_ASSERT_TREE (arg1, SCM_ARG1, "latex->texmacs");
2010 tree in1= scm_to_tree (arg1);
2012 // SCM_DEFER_INTS;
2013 tree out= latex_to_tree (in1);
2014 // SCM_ALLOW_INTS;
2016 return tree_to_scm (out);
2020 tmg_parse_xml (SCM arg1) {
2021 SCM_ASSERT_STRING (arg1, SCM_ARG1, "parse-xml");
2023 string in1= scm_to_string (arg1);
2025 // SCM_DEFER_INTS;
2026 scheme_tree out= parse_xml (in1);
2027 // SCM_ALLOW_INTS;
2029 return scheme_tree_to_scm (out);
2033 tmg_parse_html (SCM arg1) {
2034 SCM_ASSERT_STRING (arg1, SCM_ARG1, "parse-html");
2036 string in1= scm_to_string (arg1);
2038 // SCM_DEFER_INTS;
2039 scheme_tree out= parse_html (in1);
2040 // SCM_ALLOW_INTS;
2042 return scheme_tree_to_scm (out);
2046 tmg_parse_bib (SCM arg1) {
2047 SCM_ASSERT_STRING (arg1, SCM_ARG1, "parse-bib");
2049 string in1= scm_to_string (arg1);
2051 // SCM_DEFER_INTS;
2052 tree out= parse_bib (in1);
2053 // SCM_ALLOW_INTS;
2055 return tree_to_scm (out);
2059 tmg_upgrade_tmml (SCM arg1) {
2060 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "upgrade-tmml");
2062 scheme_tree in1= scm_to_scheme_tree (arg1);
2064 // SCM_DEFER_INTS;
2065 tree out= tmml_upgrade (in1);
2066 // SCM_ALLOW_INTS;
2068 return tree_to_scm (out);
2072 tmg_string_2url (SCM arg1) {
2073 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string->url");
2075 string in1= scm_to_string (arg1);
2077 // SCM_DEFER_INTS;
2078 url out= url (in1);
2079 // SCM_ALLOW_INTS;
2081 return url_to_scm (out);
2085 tmg_url (SCM arg1, SCM arg2) {
2086 SCM_ASSERT_STRING (arg1, SCM_ARG1, "url");
2087 SCM_ASSERT_STRING (arg2, SCM_ARG2, "url");
2089 string in1= scm_to_string (arg1);
2090 string in2= scm_to_string (arg2);
2092 // SCM_DEFER_INTS;
2093 url out= url (in1, in2);
2094 // SCM_ALLOW_INTS;
2096 return url_to_scm (out);
2100 tmg_url_system (SCM arg1) {
2101 SCM_ASSERT_STRING (arg1, SCM_ARG1, "url-system");
2103 string in1= scm_to_string (arg1);
2105 // SCM_DEFER_INTS;
2106 url out= url_system (in1);
2107 // SCM_ALLOW_INTS;
2109 return url_to_scm (out);
2113 tmg_url_none () {
2114 // SCM_DEFER_INTS;
2115 url out= url_none ();
2116 // SCM_ALLOW_INTS;
2118 return url_to_scm (out);
2122 tmg_url_any () {
2123 // SCM_DEFER_INTS;
2124 url out= url_wildcard ();
2125 // SCM_ALLOW_INTS;
2127 return url_to_scm (out);
2131 tmg_url_wildcard (SCM arg1) {
2132 SCM_ASSERT_STRING (arg1, SCM_ARG1, "url-wildcard");
2134 string in1= scm_to_string (arg1);
2136 // SCM_DEFER_INTS;
2137 url out= url_wildcard (in1);
2138 // SCM_ALLOW_INTS;
2140 return url_to_scm (out);
2144 tmg_url_parent () {
2145 // SCM_DEFER_INTS;
2146 url out= url_parent ();
2147 // SCM_ALLOW_INTS;
2149 return url_to_scm (out);
2153 tmg_url_append (SCM arg1, SCM arg2) {
2154 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-append");
2155 SCM_ASSERT_URL (arg2, SCM_ARG2, "url-append");
2157 url in1= scm_to_url (arg1);
2158 url in2= scm_to_url (arg2);
2160 // SCM_DEFER_INTS;
2161 url out= url_concat (in1, in2);
2162 // SCM_ALLOW_INTS;
2164 return url_to_scm (out);
2168 tmg_url_or (SCM arg1, SCM arg2) {
2169 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-or");
2170 SCM_ASSERT_URL (arg2, SCM_ARG2, "url-or");
2172 url in1= scm_to_url (arg1);
2173 url in2= scm_to_url (arg2);
2175 // SCM_DEFER_INTS;
2176 url out= url_or (in1, in2);
2177 // SCM_ALLOW_INTS;
2179 return url_to_scm (out);
2183 tmg_url_2string (SCM arg1) {
2184 SCM_ASSERT_URL (arg1, SCM_ARG1, "url->string");
2186 url in1= scm_to_url (arg1);
2188 // SCM_DEFER_INTS;
2189 string out= as_string (in1);
2190 // SCM_ALLOW_INTS;
2192 return string_to_scm (out);
2196 tmg_url_noneP (SCM arg1) {
2197 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-none?");
2199 url in1= scm_to_url (arg1);
2201 // SCM_DEFER_INTS;
2202 bool out= is_none (in1);
2203 // SCM_ALLOW_INTS;
2205 return bool_to_scm (out);
2209 tmg_url_rooted_webP (SCM arg1) {
2210 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-rooted-web?");
2212 url in1= scm_to_url (arg1);
2214 // SCM_DEFER_INTS;
2215 bool out= is_rooted_web (in1);
2216 // SCM_ALLOW_INTS;
2218 return bool_to_scm (out);
2222 tmg_url_concatP (SCM arg1) {
2223 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-concat?");
2225 url in1= scm_to_url (arg1);
2227 // SCM_DEFER_INTS;
2228 bool out= is_concat (in1);
2229 // SCM_ALLOW_INTS;
2231 return bool_to_scm (out);
2235 tmg_url_orP (SCM arg1) {
2236 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-or?");
2238 url in1= scm_to_url (arg1);
2240 // SCM_DEFER_INTS;
2241 bool out= is_or (in1);
2242 // SCM_ALLOW_INTS;
2244 return bool_to_scm (out);
2248 tmg_url_ref (SCM arg1, SCM arg2) {
2249 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-ref");
2250 SCM_ASSERT_INT (arg2, SCM_ARG2, "url-ref");
2252 url in1= scm_to_url (arg1);
2253 int in2= scm_to_int (arg2);
2255 // SCM_DEFER_INTS;
2256 url out= url_ref (in1, in2);
2257 // SCM_ALLOW_INTS;
2259 return url_to_scm (out);
2263 tmg_url_tail (SCM arg1) {
2264 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-tail");
2266 url in1= scm_to_url (arg1);
2268 // SCM_DEFER_INTS;
2269 url out= tail (in1);
2270 // SCM_ALLOW_INTS;
2272 return url_to_scm (out);
2276 tmg_url_suffix (SCM arg1) {
2277 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-suffix");
2279 url in1= scm_to_url (arg1);
2281 // SCM_DEFER_INTS;
2282 string out= suffix (in1);
2283 // SCM_ALLOW_INTS;
2285 return string_to_scm (out);
2289 tmg_url_glue (SCM arg1, SCM arg2) {
2290 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-glue");
2291 SCM_ASSERT_STRING (arg2, SCM_ARG2, "url-glue");
2293 url in1= scm_to_url (arg1);
2294 string in2= scm_to_string (arg2);
2296 // SCM_DEFER_INTS;
2297 url out= glue (in1, in2);
2298 // SCM_ALLOW_INTS;
2300 return url_to_scm (out);
2304 tmg_url_unglue (SCM arg1, SCM arg2) {
2305 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-unglue");
2306 SCM_ASSERT_INT (arg2, SCM_ARG2, "url-unglue");
2308 url in1= scm_to_url (arg1);
2309 int in2= scm_to_int (arg2);
2311 // SCM_DEFER_INTS;
2312 url out= unglue (in1, in2);
2313 // SCM_ALLOW_INTS;
2315 return url_to_scm (out);
2319 tmg_url_relative (SCM arg1, SCM arg2) {
2320 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-relative");
2321 SCM_ASSERT_URL (arg2, SCM_ARG2, "url-relative");
2323 url in1= scm_to_url (arg1);
2324 url in2= scm_to_url (arg2);
2326 // SCM_DEFER_INTS;
2327 url out= relative (in1, in2);
2328 // SCM_ALLOW_INTS;
2330 return url_to_scm (out);
2334 tmg_url_expand (SCM arg1) {
2335 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-expand");
2337 url in1= scm_to_url (arg1);
2339 // SCM_DEFER_INTS;
2340 url out= expand (in1);
2341 // SCM_ALLOW_INTS;
2343 return url_to_scm (out);
2347 tmg_url_factor (SCM arg1) {
2348 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-factor");
2350 url in1= scm_to_url (arg1);
2352 // SCM_DEFER_INTS;
2353 url out= factor (in1);
2354 // SCM_ALLOW_INTS;
2356 return url_to_scm (out);
2360 tmg_url_delta (SCM arg1, SCM arg2) {
2361 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-delta");
2362 SCM_ASSERT_URL (arg2, SCM_ARG2, "url-delta");
2364 url in1= scm_to_url (arg1);
2365 url in2= scm_to_url (arg2);
2367 // SCM_DEFER_INTS;
2368 url out= delta (in1, in2);
2369 // SCM_ALLOW_INTS;
2371 return url_to_scm (out);
2375 tmg_url_secureP (SCM arg1) {
2376 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-secure?");
2378 url in1= scm_to_url (arg1);
2380 // SCM_DEFER_INTS;
2381 bool out= is_secure (in1);
2382 // SCM_ALLOW_INTS;
2384 return bool_to_scm (out);
2388 tmg_url_descendsP (SCM arg1, SCM arg2) {
2389 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-descends?");
2390 SCM_ASSERT_URL (arg2, SCM_ARG2, "url-descends?");
2392 url in1= scm_to_url (arg1);
2393 url in2= scm_to_url (arg2);
2395 // SCM_DEFER_INTS;
2396 bool out= descends (in1, in2);
2397 // SCM_ALLOW_INTS;
2399 return bool_to_scm (out);
2403 tmg_url_complete (SCM arg1, SCM arg2) {
2404 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-complete");
2405 SCM_ASSERT_STRING (arg2, SCM_ARG2, "url-complete");
2407 url in1= scm_to_url (arg1);
2408 string in2= scm_to_string (arg2);
2410 // SCM_DEFER_INTS;
2411 url out= complete (in1, in2);
2412 // SCM_ALLOW_INTS;
2414 return url_to_scm (out);
2418 tmg_url_resolve (SCM arg1, SCM arg2) {
2419 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-resolve");
2420 SCM_ASSERT_STRING (arg2, SCM_ARG2, "url-resolve");
2422 url in1= scm_to_url (arg1);
2423 string in2= scm_to_string (arg2);
2425 // SCM_DEFER_INTS;
2426 url out= resolve (in1, in2);
2427 // SCM_ALLOW_INTS;
2429 return url_to_scm (out);
2433 tmg_url_resolve_in_path (SCM arg1) {
2434 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-resolve-in-path");
2436 url in1= scm_to_url (arg1);
2438 // SCM_DEFER_INTS;
2439 url out= resolve_in_path (in1);
2440 // SCM_ALLOW_INTS;
2442 return url_to_scm (out);
2446 tmg_url_existsP (SCM arg1) {
2447 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-exists?");
2449 url in1= scm_to_url (arg1);
2451 // SCM_DEFER_INTS;
2452 bool out= exists (in1);
2453 // SCM_ALLOW_INTS;
2455 return bool_to_scm (out);
2459 tmg_url_exists_in_pathP (SCM arg1) {
2460 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-exists-in-path?");
2462 url in1= scm_to_url (arg1);
2464 // SCM_DEFER_INTS;
2465 bool out= exists_in_path (in1);
2466 // SCM_ALLOW_INTS;
2468 return bool_to_scm (out);
2472 tmg_url_exists_in_texP (SCM arg1) {
2473 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-exists-in-tex?");
2475 url in1= scm_to_url (arg1);
2477 // SCM_DEFER_INTS;
2478 bool out= exists_in_tex (in1);
2479 // SCM_ALLOW_INTS;
2481 return bool_to_scm (out);
2485 tmg_url_concretize (SCM arg1) {
2486 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-concretize");
2488 url in1= scm_to_url (arg1);
2490 // SCM_DEFER_INTS;
2491 string out= concretize (in1);
2492 // SCM_ALLOW_INTS;
2494 return string_to_scm (out);
2498 tmg_url_materialize (SCM arg1, SCM arg2) {
2499 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-materialize");
2500 SCM_ASSERT_STRING (arg2, SCM_ARG2, "url-materialize");
2502 url in1= scm_to_url (arg1);
2503 string in2= scm_to_string (arg2);
2505 // SCM_DEFER_INTS;
2506 string out= materialize (in1, in2);
2507 // SCM_ALLOW_INTS;
2509 return string_to_scm (out);
2513 tmg_url_testP (SCM arg1, SCM arg2) {
2514 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-test?");
2515 SCM_ASSERT_STRING (arg2, SCM_ARG2, "url-test?");
2517 url in1= scm_to_url (arg1);
2518 string in2= scm_to_string (arg2);
2520 // SCM_DEFER_INTS;
2521 bool out= is_of_type (in1, in2);
2522 // SCM_ALLOW_INTS;
2524 return bool_to_scm (out);
2528 tmg_url_regularP (SCM arg1) {
2529 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-regular?");
2531 url in1= scm_to_url (arg1);
2533 // SCM_DEFER_INTS;
2534 bool out= is_regular (in1);
2535 // SCM_ALLOW_INTS;
2537 return bool_to_scm (out);
2541 tmg_url_directoryP (SCM arg1) {
2542 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-directory?");
2544 url in1= scm_to_url (arg1);
2546 // SCM_DEFER_INTS;
2547 bool out= is_directory (in1);
2548 // SCM_ALLOW_INTS;
2550 return bool_to_scm (out);
2554 tmg_url_linkP (SCM arg1) {
2555 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-link?");
2557 url in1= scm_to_url (arg1);
2559 // SCM_DEFER_INTS;
2560 bool out= is_symbolic_link (in1);
2561 // SCM_ALLOW_INTS;
2563 return bool_to_scm (out);
2567 tmg_url_newerP (SCM arg1, SCM arg2) {
2568 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-newer?");
2569 SCM_ASSERT_URL (arg2, SCM_ARG2, "url-newer?");
2571 url in1= scm_to_url (arg1);
2572 url in2= scm_to_url (arg2);
2574 // SCM_DEFER_INTS;
2575 bool out= is_newer (in1, in2);
2576 // SCM_ALLOW_INTS;
2578 return bool_to_scm (out);
2582 tmg_url_last_modified (SCM arg1) {
2583 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-last-modified");
2585 url in1= scm_to_url (arg1);
2587 // SCM_DEFER_INTS;
2588 int out= last_modified (in1);
2589 // SCM_ALLOW_INTS;
2591 return int_to_scm (out);
2595 tmg_url_temp () {
2596 // SCM_DEFER_INTS;
2597 url out= url_temp ();
2598 // SCM_ALLOW_INTS;
2600 return url_to_scm (out);
2604 tmg_url_scratch (SCM arg1, SCM arg2, SCM arg3) {
2605 SCM_ASSERT_STRING (arg1, SCM_ARG1, "url-scratch");
2606 SCM_ASSERT_STRING (arg2, SCM_ARG2, "url-scratch");
2607 SCM_ASSERT_INT (arg3, SCM_ARG3, "url-scratch");
2609 string in1= scm_to_string (arg1);
2610 string in2= scm_to_string (arg2);
2611 int in3= scm_to_int (arg3);
2613 // SCM_DEFER_INTS;
2614 url out= url_scratch (in1, in2, in3);
2615 // SCM_ALLOW_INTS;
2617 return url_to_scm (out);
2621 tmg_url_scratchP (SCM arg1) {
2622 SCM_ASSERT_URL (arg1, SCM_ARG1, "url-scratch?");
2624 url in1= scm_to_url (arg1);
2626 // SCM_DEFER_INTS;
2627 bool out= is_scratch (in1);
2628 // SCM_ALLOW_INTS;
2630 return bool_to_scm (out);
2634 tmg_string_save (SCM arg1, SCM arg2) {
2635 SCM_ASSERT_STRING (arg1, SCM_ARG1, "string-save");
2636 SCM_ASSERT_URL (arg2, SCM_ARG2, "string-save");
2638 string in1= scm_to_string (arg1);
2639 url in2= scm_to_url (arg2);
2641 // SCM_DEFER_INTS;
2642 string_save (in1, in2);
2643 // SCM_ALLOW_INTS;
2645 return SCM_UNSPECIFIED;
2649 tmg_string_load (SCM arg1) {
2650 SCM_ASSERT_URL (arg1, SCM_ARG1, "string-load");
2652 url in1= scm_to_url (arg1);
2654 // SCM_DEFER_INTS;
2655 string out= string_load (in1);
2656 // SCM_ALLOW_INTS;
2658 return string_to_scm (out);
2662 tmg_system_move (SCM arg1, SCM arg2) {
2663 SCM_ASSERT_URL (arg1, SCM_ARG1, "system-move");
2664 SCM_ASSERT_URL (arg2, SCM_ARG2, "system-move");
2666 url in1= scm_to_url (arg1);
2667 url in2= scm_to_url (arg2);
2669 // SCM_DEFER_INTS;
2670 move (in1, in2);
2671 // SCM_ALLOW_INTS;
2673 return SCM_UNSPECIFIED;
2677 tmg_system_copy (SCM arg1, SCM arg2) {
2678 SCM_ASSERT_URL (arg1, SCM_ARG1, "system-copy");
2679 SCM_ASSERT_URL (arg2, SCM_ARG2, "system-copy");
2681 url in1= scm_to_url (arg1);
2682 url in2= scm_to_url (arg2);
2684 // SCM_DEFER_INTS;
2685 copy (in1, in2);
2686 // SCM_ALLOW_INTS;
2688 return SCM_UNSPECIFIED;
2692 tmg_system_remove (SCM arg1) {
2693 SCM_ASSERT_URL (arg1, SCM_ARG1, "system-remove");
2695 url in1= scm_to_url (arg1);
2697 // SCM_DEFER_INTS;
2698 remove (in1);
2699 // SCM_ALLOW_INTS;
2701 return SCM_UNSPECIFIED;
2705 tmg_system_mkdir (SCM arg1) {
2706 SCM_ASSERT_URL (arg1, SCM_ARG1, "system-mkdir");
2708 url in1= scm_to_url (arg1);
2710 // SCM_DEFER_INTS;
2711 mkdir (in1);
2712 // SCM_ALLOW_INTS;
2714 return SCM_UNSPECIFIED;
2718 tmg_system_search_score (SCM arg1, SCM arg2) {
2719 SCM_ASSERT_URL (arg1, SCM_ARG1, "system-search-score");
2720 SCM_ASSERT_ARRAY_STRING (arg2, SCM_ARG2, "system-search-score");
2722 url in1= scm_to_url (arg1);
2723 array_string in2= scm_to_array_string (arg2);
2725 // SCM_DEFER_INTS;
2726 int out= search_score (in1, in2);
2727 // SCM_ALLOW_INTS;
2729 return int_to_scm (out);
2733 tmg_system_1 (SCM arg1, SCM arg2) {
2734 SCM_ASSERT_STRING (arg1, SCM_ARG1, "system-1");
2735 SCM_ASSERT_URL (arg2, SCM_ARG2, "system-1");
2737 string in1= scm_to_string (arg1);
2738 url in2= scm_to_url (arg2);
2740 // SCM_DEFER_INTS;
2741 system (in1, in2);
2742 // SCM_ALLOW_INTS;
2744 return SCM_UNSPECIFIED;
2748 tmg_system_2 (SCM arg1, SCM arg2, SCM arg3) {
2749 SCM_ASSERT_STRING (arg1, SCM_ARG1, "system-2");
2750 SCM_ASSERT_URL (arg2, SCM_ARG2, "system-2");
2751 SCM_ASSERT_URL (arg3, SCM_ARG3, "system-2");
2753 string in1= scm_to_string (arg1);
2754 url in2= scm_to_url (arg2);
2755 url in3= scm_to_url (arg3);
2757 // SCM_DEFER_INTS;
2758 system (in1, in2, in3);
2759 // SCM_ALLOW_INTS;
2761 return SCM_UNSPECIFIED;
2765 tmg_tmfs_set (SCM arg1, SCM arg2) {
2766 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-set");
2767 SCM_ASSERT_COLLECTION (arg2, SCM_ARG2, "tmfs-set");
2769 string in1= scm_to_string (arg1);
2770 collection in2= scm_to_collection (arg2);
2772 // SCM_DEFER_INTS;
2773 tmfs_set (in1, in2);
2774 // SCM_ALLOW_INTS;
2776 return SCM_UNSPECIFIED;
2780 tmg_tmfs_reset (SCM arg1, SCM arg2) {
2781 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-reset");
2782 SCM_ASSERT_COLLECTION (arg2, SCM_ARG2, "tmfs-reset");
2784 string in1= scm_to_string (arg1);
2785 collection in2= scm_to_collection (arg2);
2787 // SCM_DEFER_INTS;
2788 tmfs_reset (in1, in2);
2789 // SCM_ALLOW_INTS;
2791 return SCM_UNSPECIFIED;
2795 tmg_tmfs_get (SCM arg1) {
2796 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-get");
2798 string in1= scm_to_string (arg1);
2800 // SCM_DEFER_INTS;
2801 collection out= tmfs_get (in1);
2802 // SCM_ALLOW_INTS;
2804 return collection_to_scm (out);
2808 tmg_tmfs_new_save (SCM arg1, SCM arg2) {
2809 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-new-save");
2810 SCM_ASSERT_STRING (arg2, SCM_ARG2, "tmfs-new-save");
2812 string in1= scm_to_string (arg1);
2813 string in2= scm_to_string (arg2);
2815 // SCM_DEFER_INTS;
2816 tmfs_save (in1, in2);
2817 // SCM_ALLOW_INTS;
2819 return SCM_UNSPECIFIED;
2823 tmg_tmfs_new_remove (SCM arg1) {
2824 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-new-remove");
2826 string in1= scm_to_string (arg1);
2828 // SCM_DEFER_INTS;
2829 tmfs_remove (in1);
2830 // SCM_ALLOW_INTS;
2832 return SCM_UNSPECIFIED;
2836 tmg_tmfs_new_load (SCM arg1) {
2837 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-new-load");
2839 string in1= scm_to_string (arg1);
2841 // SCM_DEFER_INTS;
2842 string out= tmfs_load (in1);
2843 // SCM_ALLOW_INTS;
2845 return string_to_scm (out);
2849 tmg_tmfs_create_ressource () {
2850 // SCM_DEFER_INTS;
2851 string out= tmfs_create_ressource ();
2852 // SCM_ALLOW_INTS;
2854 return string_to_scm (out);
2858 tmg_tmfs_ressource_head (SCM arg1) {
2859 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-ressource-head");
2861 string in1= scm_to_string (arg1);
2863 // SCM_DEFER_INTS;
2864 string out= tmfs_get_head (in1);
2865 // SCM_ALLOW_INTS;
2867 return string_to_scm (out);
2871 tmg_tmfs_ressource_versions (SCM arg1) {
2872 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-ressource-versions");
2874 string in1= scm_to_string (arg1);
2876 // SCM_DEFER_INTS;
2877 collection out= tmfs_get_versions (in1);
2878 // SCM_ALLOW_INTS;
2880 return collection_to_scm (out);
2884 tmg_tmfs_save_ressource (SCM arg1, SCM arg2, SCM arg3) {
2885 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-save-ressource");
2886 SCM_ASSERT_STRING (arg2, SCM_ARG2, "tmfs-save-ressource");
2887 SCM_ASSERT_PROPERTIES (arg3, SCM_ARG3, "tmfs-save-ressource");
2889 string in1= scm_to_string (arg1);
2890 string in2= scm_to_string (arg2);
2891 properties in3= scm_to_properties (arg3);
2893 // SCM_DEFER_INTS;
2894 tmfs_save_ressource (in1, in2, in3);
2895 // SCM_ALLOW_INTS;
2897 return SCM_UNSPECIFIED;
2901 tmg_tmfs_load_ressource_file (SCM arg1) {
2902 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-load-ressource-file");
2904 string in1= scm_to_string (arg1);
2906 // SCM_DEFER_INTS;
2907 string out= tmfs_load_ressource_file (in1);
2908 // SCM_ALLOW_INTS;
2910 return string_to_scm (out);
2914 tmg_tmfs_load_ressource_properties (SCM arg1) {
2915 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-load-ressource-properties");
2917 string in1= scm_to_string (arg1);
2919 // SCM_DEFER_INTS;
2920 properties out= tmfs_load_ressource_properties (in1);
2921 // SCM_ALLOW_INTS;
2923 return properties_to_scm (out);
2927 tmg_tmfs_create_user (SCM arg1) {
2928 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-create-user");
2930 string in1= scm_to_string (arg1);
2932 // SCM_DEFER_INTS;
2933 string out= tmfs_create_user (in1);
2934 // SCM_ALLOW_INTS;
2936 return string_to_scm (out);
2940 tmg_tmfs_search_user (SCM arg1) {
2941 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-search-user");
2943 string in1= scm_to_string (arg1);
2945 // SCM_DEFER_INTS;
2946 collection out= tmfs_search_user (in1);
2947 // SCM_ALLOW_INTS;
2949 return collection_to_scm (out);
2953 tmg_tmfs_set_user (SCM arg1) {
2954 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-set-user");
2956 string in1= scm_to_string (arg1);
2958 // SCM_DEFER_INTS;
2959 tmfs_set_user (in1);
2960 // SCM_ALLOW_INTS;
2962 return SCM_UNSPECIFIED;
2966 tmg_tmfs_get_user () {
2967 // SCM_DEFER_INTS;
2968 string out= tmfs_get_user ();
2969 // SCM_ALLOW_INTS;
2971 return string_to_scm (out);
2975 tmg_tmfs_allowsP (SCM arg1, SCM arg2) {
2976 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-allows?");
2977 SCM_ASSERT_STRING (arg2, SCM_ARG2, "tmfs-allows?");
2979 string in1= scm_to_string (arg1);
2980 string in2= scm_to_string (arg2);
2982 // SCM_DEFER_INTS;
2983 bool out= tmfs_allows (in1, in2);
2984 // SCM_ALLOW_INTS;
2986 return bool_to_scm (out);
2990 tmg_tmfs_set_attributes (SCM arg1, SCM arg2) {
2991 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-set-attributes");
2992 SCM_ASSERT_PROPERTIES (arg2, SCM_ARG2, "tmfs-set-attributes");
2994 string in1= scm_to_string (arg1);
2995 properties in2= scm_to_properties (arg2);
2997 // SCM_DEFER_INTS;
2998 tmfs_set_attributes (in1, in2);
2999 // SCM_ALLOW_INTS;
3001 return SCM_UNSPECIFIED;
3005 tmg_tmfs_get_attributes (SCM arg1) {
3006 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-get-attributes");
3008 string in1= scm_to_string (arg1);
3010 // SCM_DEFER_INTS;
3011 properties out= tmfs_get_attributes (in1);
3012 // SCM_ALLOW_INTS;
3014 return properties_to_scm (out);
3018 tmg_tmfs_add_attributes (SCM arg1, SCM arg2) {
3019 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-add-attributes");
3020 SCM_ASSERT_PROPERTIES (arg2, SCM_ARG2, "tmfs-add-attributes");
3022 string in1= scm_to_string (arg1);
3023 properties in2= scm_to_properties (arg2);
3025 // SCM_DEFER_INTS;
3026 tmfs_add_attributes (in1, in2);
3027 // SCM_ALLOW_INTS;
3029 return SCM_UNSPECIFIED;
3033 tmg_tmfs_remove_attributes (SCM arg1, SCM arg2) {
3034 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-remove-attributes");
3035 SCM_ASSERT_PROPERTIES (arg2, SCM_ARG2, "tmfs-remove-attributes");
3037 string in1= scm_to_string (arg1);
3038 properties in2= scm_to_properties (arg2);
3040 // SCM_DEFER_INTS;
3041 tmfs_remove_attributes (in1, in2);
3042 // SCM_ALLOW_INTS;
3044 return SCM_UNSPECIFIED;
3048 tmg_tmfs_change_attributes (SCM arg1, SCM arg2) {
3049 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-change-attributes");
3050 SCM_ASSERT_PROPERTIES (arg2, SCM_ARG2, "tmfs-change-attributes");
3052 string in1= scm_to_string (arg1);
3053 properties in2= scm_to_properties (arg2);
3055 // SCM_DEFER_INTS;
3056 tmfs_change_attributes (in1, in2);
3057 // SCM_ALLOW_INTS;
3059 return SCM_UNSPECIFIED;
3063 tmg_tmfs_query (SCM arg1) {
3064 SCM_ASSERT_PROPERTIES (arg1, SCM_ARG1, "tmfs-query");
3066 properties in1= scm_to_properties (arg1);
3068 // SCM_DEFER_INTS;
3069 solutions out= tmfs_query (in1);
3070 // SCM_ALLOW_INTS;
3072 return solutions_to_scm (out);
3076 tmg_solutions_2collection (SCM arg1, SCM arg2) {
3077 SCM_ASSERT_SOLUTIONS (arg1, SCM_ARG1, "solutions->collection");
3078 SCM_ASSERT_STRING (arg2, SCM_ARG2, "solutions->collection");
3080 solutions in1= scm_to_solutions (arg1);
3081 string in2= scm_to_string (arg2);
3083 // SCM_DEFER_INTS;
3084 collection out= as_collection (in1, in2);
3085 // SCM_ALLOW_INTS;
3087 return collection_to_scm (out);
3091 tmg_tmfs_create_file (SCM arg1, SCM arg2) {
3092 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-create-file");
3093 SCM_ASSERT_STRING (arg2, SCM_ARG2, "tmfs-create-file");
3095 string in1= scm_to_string (arg1);
3096 string in2= scm_to_string (arg2);
3098 // SCM_DEFER_INTS;
3099 string out= tmfs_create_file (in1, in2);
3100 // SCM_ALLOW_INTS;
3102 return string_to_scm (out);
3106 tmg_tmfs_create_file_in (SCM arg1, SCM arg2, SCM arg3) {
3107 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-create-file-in");
3108 SCM_ASSERT_STRING (arg2, SCM_ARG2, "tmfs-create-file-in");
3109 SCM_ASSERT_STRING (arg3, SCM_ARG3, "tmfs-create-file-in");
3111 string in1= scm_to_string (arg1);
3112 string in2= scm_to_string (arg2);
3113 string in3= scm_to_string (arg3);
3115 // SCM_DEFER_INTS;
3116 string out= tmfs_create_file (in1, in2, in3);
3117 // SCM_ALLOW_INTS;
3119 return string_to_scm (out);
3123 tmg_tmfs_search_file (SCM arg1) {
3124 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-search-file");
3126 string in1= scm_to_string (arg1);
3128 // SCM_DEFER_INTS;
3129 collection out= tmfs_search_file (in1);
3130 // SCM_ALLOW_INTS;
3132 return collection_to_scm (out);
3136 tmg_tmfs_save_file (SCM arg1, SCM arg2) {
3137 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-save-file");
3138 SCM_ASSERT_STRING (arg2, SCM_ARG2, "tmfs-save-file");
3140 string in1= scm_to_string (arg1);
3141 string in2= scm_to_string (arg2);
3143 // SCM_DEFER_INTS;
3144 tmfs_save_file (in1, in2);
3145 // SCM_ALLOW_INTS;
3147 return SCM_UNSPECIFIED;
3151 tmg_tmfs_load_file (SCM arg1) {
3152 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-load-file");
3154 string in1= scm_to_string (arg1);
3156 // SCM_DEFER_INTS;
3157 string out= tmfs_load_file (in1);
3158 // SCM_ALLOW_INTS;
3160 return string_to_scm (out);
3164 tmg_tmfs_create_project (SCM arg1) {
3165 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-create-project");
3167 string in1= scm_to_string (arg1);
3169 // SCM_DEFER_INTS;
3170 string out= tmfs_create_project (in1);
3171 // SCM_ALLOW_INTS;
3173 return string_to_scm (out);
3177 tmg_tmfs_search_project (SCM arg1) {
3178 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-search-project");
3180 string in1= scm_to_string (arg1);
3182 // SCM_DEFER_INTS;
3183 collection out= tmfs_search_project (in1);
3184 // SCM_ALLOW_INTS;
3186 return collection_to_scm (out);
3190 tmg_tmfs_get_file_projects (SCM arg1) {
3191 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-get-file-projects");
3193 string in1= scm_to_string (arg1);
3195 // SCM_DEFER_INTS;
3196 collection out= tmfs_get_file_projects (in1);
3197 // SCM_ALLOW_INTS;
3199 return collection_to_scm (out);
3203 tmg_tmfs_get_project_files (SCM arg1) {
3204 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-get-project-files");
3206 string in1= scm_to_string (arg1);
3208 // SCM_DEFER_INTS;
3209 collection out= tmfs_get_project_files (in1);
3210 // SCM_ALLOW_INTS;
3212 return collection_to_scm (out);
3216 tmg_tmfs_create_branch (SCM arg1, SCM arg2) {
3217 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-create-branch");
3218 SCM_ASSERT_STRING (arg2, SCM_ARG2, "tmfs-create-branch");
3220 string in1= scm_to_string (arg1);
3221 string in2= scm_to_string (arg2);
3223 // SCM_DEFER_INTS;
3224 string out= tmfs_create_branch (in1, in2);
3225 // SCM_ALLOW_INTS;
3227 return string_to_scm (out);
3231 tmg_tmfs_set_root (SCM arg1, SCM arg2) {
3232 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-set-root");
3233 SCM_ASSERT_URL (arg2, SCM_ARG2, "tmfs-set-root");
3235 string in1= scm_to_string (arg1);
3236 url in2= scm_to_url (arg2);
3238 // SCM_DEFER_INTS;
3239 tmfs_set_root (in1, in2);
3240 // SCM_ALLOW_INTS;
3242 return SCM_UNSPECIFIED;
3246 tmg_tmfs_get_root (SCM arg1) {
3247 SCM_ASSERT_STRING (arg1, SCM_ARG1, "tmfs-get-root");
3249 string in1= scm_to_string (arg1);
3251 // SCM_DEFER_INTS;
3252 url out= tmfs_get_root (in1);
3253 // SCM_ALLOW_INTS;
3255 return url_to_scm (out);
3259 tmg_tmfs_import (SCM arg1) {
3260 SCM_ASSERT_URL (arg1, SCM_ARG1, "tmfs-import");
3262 url in1= scm_to_url (arg1);
3264 // SCM_DEFER_INTS;
3265 tmfs_import (in1);
3266 // SCM_ALLOW_INTS;
3268 return SCM_UNSPECIFIED;
3272 tmg_tmfs_export (SCM arg1) {
3273 SCM_ASSERT_URL (arg1, SCM_ARG1, "tmfs-export");
3275 url in1= scm_to_url (arg1);
3277 // SCM_DEFER_INTS;
3278 tmfs_export (in1);
3279 // SCM_ALLOW_INTS;
3281 return SCM_UNSPECIFIED;
3285 tmg_server_start () {
3286 // SCM_DEFER_INTS;
3287 server_start ();
3288 // SCM_ALLOW_INTS;
3290 return SCM_UNSPECIFIED;
3294 tmg_server_stop () {
3295 // SCM_DEFER_INTS;
3296 server_stop ();
3297 // SCM_ALLOW_INTS;
3299 return SCM_UNSPECIFIED;
3303 tmg_server_read (SCM arg1) {
3304 SCM_ASSERT_INT (arg1, SCM_ARG1, "server-read");
3306 int in1= scm_to_int (arg1);
3308 // SCM_DEFER_INTS;
3309 string out= server_read (in1);
3310 // SCM_ALLOW_INTS;
3312 return string_to_scm (out);
3316 tmg_server_write (SCM arg1, SCM arg2) {
3317 SCM_ASSERT_INT (arg1, SCM_ARG1, "server-write");
3318 SCM_ASSERT_STRING (arg2, SCM_ARG2, "server-write");
3320 int in1= scm_to_int (arg1);
3321 string in2= scm_to_string (arg2);
3323 // SCM_DEFER_INTS;
3324 server_write (in1, in2);
3325 // SCM_ALLOW_INTS;
3327 return SCM_UNSPECIFIED;
3331 tmg_client_start (SCM arg1) {
3332 SCM_ASSERT_STRING (arg1, SCM_ARG1, "client-start");
3334 string in1= scm_to_string (arg1);
3336 // SCM_DEFER_INTS;
3337 client_start (in1);
3338 // SCM_ALLOW_INTS;
3340 return SCM_UNSPECIFIED;
3344 tmg_client_stop () {
3345 // SCM_DEFER_INTS;
3346 client_stop ();
3347 // SCM_ALLOW_INTS;
3349 return SCM_UNSPECIFIED;
3353 tmg_client_read () {
3354 // SCM_DEFER_INTS;
3355 string out= client_read ();
3356 // SCM_ALLOW_INTS;
3358 return string_to_scm (out);
3362 tmg_client_write (SCM arg1) {
3363 SCM_ASSERT_STRING (arg1, SCM_ARG1, "client-write");
3365 string in1= scm_to_string (arg1);
3367 // SCM_DEFER_INTS;
3368 client_write (in1);
3369 // SCM_ALLOW_INTS;
3371 return SCM_UNSPECIFIED;
3375 tmg_enter_secure_mode () {
3376 // SCM_DEFER_INTS;
3377 enter_secure_mode ();
3378 // SCM_ALLOW_INTS;
3380 return SCM_UNSPECIFIED;
3384 tmg_connection_start (SCM arg1, SCM arg2) {
3385 SCM_ASSERT_STRING (arg1, SCM_ARG1, "connection-start");
3386 SCM_ASSERT_STRING (arg2, SCM_ARG2, "connection-start");
3388 string in1= scm_to_string (arg1);
3389 string in2= scm_to_string (arg2);
3391 // SCM_DEFER_INTS;
3392 string out= connection_start (in1, in2);
3393 // SCM_ALLOW_INTS;
3395 return string_to_scm (out);
3399 tmg_connection_status (SCM arg1, SCM arg2) {
3400 SCM_ASSERT_STRING (arg1, SCM_ARG1, "connection-status");
3401 SCM_ASSERT_STRING (arg2, SCM_ARG2, "connection-status");
3403 string in1= scm_to_string (arg1);
3404 string in2= scm_to_string (arg2);
3406 // SCM_DEFER_INTS;
3407 int out= connection_status (in1, in2);
3408 // SCM_ALLOW_INTS;
3410 return int_to_scm (out);
3414 tmg_connection_write (SCM arg1, SCM arg2, SCM arg3) {
3415 SCM_ASSERT_STRING (arg1, SCM_ARG1, "connection-write");
3416 SCM_ASSERT_STRING (arg2, SCM_ARG2, "connection-write");
3417 SCM_ASSERT_CONTENT (arg3, SCM_ARG3, "connection-write");
3419 string in1= scm_to_string (arg1);
3420 string in2= scm_to_string (arg2);
3421 content in3= scm_to_content (arg3);
3423 // SCM_DEFER_INTS;
3424 connection_write (in1, in2, in3);
3425 // SCM_ALLOW_INTS;
3427 return SCM_UNSPECIFIED;
3431 tmg_connection_cmd (SCM arg1, SCM arg2, SCM arg3) {
3432 SCM_ASSERT_STRING (arg1, SCM_ARG1, "connection-cmd");
3433 SCM_ASSERT_STRING (arg2, SCM_ARG2, "connection-cmd");
3434 SCM_ASSERT_STRING (arg3, SCM_ARG3, "connection-cmd");
3436 string in1= scm_to_string (arg1);
3437 string in2= scm_to_string (arg2);
3438 string in3= scm_to_string (arg3);
3440 // SCM_DEFER_INTS;
3441 tree out= connection_cmd (in1, in2, in3);
3442 // SCM_ALLOW_INTS;
3444 return tree_to_scm (out);
3448 tmg_connection_eval (SCM arg1, SCM arg2, SCM arg3) {
3449 SCM_ASSERT_STRING (arg1, SCM_ARG1, "connection-eval");
3450 SCM_ASSERT_STRING (arg2, SCM_ARG2, "connection-eval");
3451 SCM_ASSERT_CONTENT (arg3, SCM_ARG3, "connection-eval");
3453 string in1= scm_to_string (arg1);
3454 string in2= scm_to_string (arg2);
3455 content in3= scm_to_content (arg3);
3457 // SCM_DEFER_INTS;
3458 tree out= connection_eval (in1, in2, in3);
3459 // SCM_ALLOW_INTS;
3461 return tree_to_scm (out);
3465 tmg_connection_interrupt (SCM arg1, SCM arg2) {
3466 SCM_ASSERT_STRING (arg1, SCM_ARG1, "connection-interrupt");
3467 SCM_ASSERT_STRING (arg2, SCM_ARG2, "connection-interrupt");
3469 string in1= scm_to_string (arg1);
3470 string in2= scm_to_string (arg2);
3472 // SCM_DEFER_INTS;
3473 connection_interrupt (in1, in2);
3474 // SCM_ALLOW_INTS;
3476 return SCM_UNSPECIFIED;
3480 tmg_connection_stop (SCM arg1, SCM arg2) {
3481 SCM_ASSERT_STRING (arg1, SCM_ARG1, "connection-stop");
3482 SCM_ASSERT_STRING (arg2, SCM_ARG2, "connection-stop");
3484 string in1= scm_to_string (arg1);
3485 string in2= scm_to_string (arg2);
3487 // SCM_DEFER_INTS;
3488 connection_stop (in1, in2);
3489 // SCM_ALLOW_INTS;
3491 return SCM_UNSPECIFIED;
3495 tmg_widget_hmenu (SCM arg1) {
3496 SCM_ASSERT_ARRAY_WIDGET (arg1, SCM_ARG1, "widget-hmenu");
3498 array_widget in1= scm_to_array_widget (arg1);
3500 // SCM_DEFER_INTS;
3501 widget out= horizontal_menu (in1);
3502 // SCM_ALLOW_INTS;
3504 return widget_to_scm (out);
3508 tmg_widget_vmenu (SCM arg1) {
3509 SCM_ASSERT_ARRAY_WIDGET (arg1, SCM_ARG1, "widget-vmenu");
3511 array_widget in1= scm_to_array_widget (arg1);
3513 // SCM_DEFER_INTS;
3514 widget out= vertical_menu (in1);
3515 // SCM_ALLOW_INTS;
3517 return widget_to_scm (out);
3521 tmg_widget_tmenu (SCM arg1, SCM arg2) {
3522 SCM_ASSERT_ARRAY_WIDGET (arg1, SCM_ARG1, "widget-tmenu");
3523 SCM_ASSERT_INT (arg2, SCM_ARG2, "widget-tmenu");
3525 array_widget in1= scm_to_array_widget (arg1);
3526 int in2= scm_to_int (arg2);
3528 // SCM_DEFER_INTS;
3529 widget out= tile_menu (in1, in2);
3530 // SCM_ALLOW_INTS;
3532 return widget_to_scm (out);
3536 tmg_widget_separator (SCM arg1) {
3537 SCM_ASSERT_BOOL (arg1, SCM_ARG1, "widget-separator");
3539 bool in1= scm_to_bool (arg1);
3541 // SCM_DEFER_INTS;
3542 widget out= menu_separator (in1);
3543 // SCM_ALLOW_INTS;
3545 return widget_to_scm (out);
3549 tmg_widget_menu_group (SCM arg1, SCM arg2) {
3550 SCM_ASSERT_STRING (arg1, SCM_ARG1, "widget-menu-group");
3551 SCM_ASSERT_STRING (arg2, SCM_ARG2, "widget-menu-group");
3553 string in1= scm_to_string (arg1);
3554 string in2= scm_to_string (arg2);
3556 // SCM_DEFER_INTS;
3557 widget out= menu_group (in1, in2);
3558 // SCM_ALLOW_INTS;
3560 return widget_to_scm (out);
3564 tmg_widget_pulldown_button (SCM arg1, SCM arg2) {
3565 SCM_ASSERT_WIDGET (arg1, SCM_ARG1, "widget-pulldown-button");
3566 SCM_ASSERT_PROMISE_WIDGET (arg2, SCM_ARG2, "widget-pulldown-button");
3568 widget in1= scm_to_widget (arg1);
3569 promise_widget in2= scm_to_promise_widget (arg2);
3571 // SCM_DEFER_INTS;
3572 widget out= pulldown_button (in1, in2);
3573 // SCM_ALLOW_INTS;
3575 return widget_to_scm (out);
3579 tmg_widget_pullright_button (SCM arg1, SCM arg2) {
3580 SCM_ASSERT_WIDGET (arg1, SCM_ARG1, "widget-pullright-button");
3581 SCM_ASSERT_PROMISE_WIDGET (arg2, SCM_ARG2, "widget-pullright-button");
3583 widget in1= scm_to_widget (arg1);
3584 promise_widget in2= scm_to_promise_widget (arg2);
3586 // SCM_DEFER_INTS;
3587 widget out= pullright_button (in1, in2);
3588 // SCM_ALLOW_INTS;
3590 return widget_to_scm (out);
3594 tmg_widget_menu_button (SCM arg1, SCM arg2, SCM arg3, SCM arg4, SCM arg5) {
3595 SCM_ASSERT_WIDGET (arg1, SCM_ARG1, "widget-menu-button");
3596 SCM_ASSERT_COMMAND (arg2, SCM_ARG2, "widget-menu-button");
3597 SCM_ASSERT_STRING (arg3, SCM_ARG3, "widget-menu-button");
3598 SCM_ASSERT_STRING (arg4, SCM_ARG4, "widget-menu-button");
3599 SCM_ASSERT_BOOL (arg5, SCM_ARG5, "widget-menu-button");
3601 widget in1= scm_to_widget (arg1);
3602 command in2= scm_to_command (arg2);
3603 string in3= scm_to_string (arg3);
3604 string in4= scm_to_string (arg4);
3605 bool in5= scm_to_bool (arg5);
3607 // SCM_DEFER_INTS;
3608 widget out= menu_button (in1, in2, in3, in4, in5);
3609 // SCM_ALLOW_INTS;
3611 return widget_to_scm (out);
3615 tmg_widget_balloon (SCM arg1, SCM arg2) {
3616 SCM_ASSERT_WIDGET (arg1, SCM_ARG1, "widget-balloon");
3617 SCM_ASSERT_WIDGET (arg2, SCM_ARG2, "widget-balloon");
3619 widget in1= scm_to_widget (arg1);
3620 widget in2= scm_to_widget (arg2);
3622 // SCM_DEFER_INTS;
3623 widget out= balloon_widget (in1, in2);
3624 // SCM_ALLOW_INTS;
3626 return widget_to_scm (out);
3630 tmg_widget_empty () {
3631 // SCM_DEFER_INTS;
3632 widget out= empty_widget ();
3633 // SCM_ALLOW_INTS;
3635 return widget_to_scm (out);
3639 tmg_widget_text (SCM arg1, SCM arg2, SCM arg3, SCM arg4) {
3640 SCM_ASSERT_STRING (arg1, SCM_ARG1, "widget-text");
3641 SCM_ASSERT_INT (arg2, SCM_ARG2, "widget-text");
3642 SCM_ASSERT_BOOL (arg3, SCM_ARG3, "widget-text");
3643 SCM_ASSERT_STRING (arg4, SCM_ARG4, "widget-text");
3645 string in1= scm_to_string (arg1);
3646 int in2= scm_to_int (arg2);
3647 bool in3= scm_to_bool (arg3);
3648 string in4= scm_to_string (arg4);
3650 // SCM_DEFER_INTS;
3651 widget out= text_widget (in1, in2, in3, in4);
3652 // SCM_ALLOW_INTS;
3654 return widget_to_scm (out);
3658 tmg_widget_xpm (SCM arg1) {
3659 SCM_ASSERT_URL (arg1, SCM_ARG1, "widget-xpm");
3661 url in1= scm_to_url (arg1);
3663 // SCM_DEFER_INTS;
3664 widget out= xpm_widget (in1);
3665 // SCM_ALLOW_INTS;
3667 return widget_to_scm (out);
3671 tmg_widget_box (SCM arg1, SCM arg2, SCM arg3, SCM arg4, SCM arg5) {
3672 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "widget-box");
3673 SCM_ASSERT_STRING (arg2, SCM_ARG2, "widget-box");
3674 SCM_ASSERT_INT (arg3, SCM_ARG3, "widget-box");
3675 SCM_ASSERT_BOOL (arg4, SCM_ARG4, "widget-box");
3676 SCM_ASSERT_BOOL (arg5, SCM_ARG5, "widget-box");
3678 scheme_tree in1= scm_to_scheme_tree (arg1);
3679 string in2= scm_to_string (arg2);
3680 int in3= scm_to_int (arg3);
3681 bool in4= scm_to_bool (arg4);
3682 bool in5= scm_to_bool (arg5);
3684 // SCM_DEFER_INTS;
3685 widget out= box_widget (in1, in2, in3, in4, in5);
3686 // SCM_ALLOW_INTS;
3688 return widget_to_scm (out);
3692 tmg_object_2promise_widget (SCM arg1) {
3693 SCM_ASSERT_OBJECT (arg1, SCM_ARG1, "object->promise-widget");
3695 object in1= scm_to_object (arg1);
3697 // SCM_DEFER_INTS;
3698 promise_widget out= as_promise_widget (in1);
3699 // SCM_ALLOW_INTS;
3701 return promise_widget_to_scm (out);
3705 tmg_bib_add_period (SCM arg1) {
3706 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-add-period");
3708 scheme_tree in1= scm_to_scheme_tree (arg1);
3710 // SCM_DEFER_INTS;
3711 scheme_tree out= bib_add_period (in1);
3712 // SCM_ALLOW_INTS;
3714 return scheme_tree_to_scm (out);
3718 tmg_bib_upcase_first (SCM arg1) {
3719 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-upcase-first");
3721 scheme_tree in1= scm_to_scheme_tree (arg1);
3723 // SCM_DEFER_INTS;
3724 scheme_tree out= bib_upcase_first (in1);
3725 // SCM_ALLOW_INTS;
3727 return scheme_tree_to_scm (out);
3731 tmg_bib_locase (SCM arg1) {
3732 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-locase");
3734 scheme_tree in1= scm_to_scheme_tree (arg1);
3736 // SCM_DEFER_INTS;
3737 scheme_tree out= bib_locase (in1);
3738 // SCM_ALLOW_INTS;
3740 return scheme_tree_to_scm (out);
3744 tmg_bib_upcase (SCM arg1) {
3745 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-upcase");
3747 scheme_tree in1= scm_to_scheme_tree (arg1);
3749 // SCM_DEFER_INTS;
3750 scheme_tree out= bib_upcase (in1);
3751 // SCM_ALLOW_INTS;
3753 return scheme_tree_to_scm (out);
3757 tmg_bib_default (SCM arg1) {
3758 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-default");
3760 scheme_tree in1= scm_to_scheme_tree (arg1);
3762 // SCM_DEFER_INTS;
3763 scheme_tree out= bib_default (in1);
3764 // SCM_ALLOW_INTS;
3766 return scheme_tree_to_scm (out);
3770 tmg_bib_purify (SCM arg1) {
3771 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-purify");
3773 scheme_tree in1= scm_to_scheme_tree (arg1);
3775 // SCM_DEFER_INTS;
3776 string out= bib_purify (in1);
3777 // SCM_ALLOW_INTS;
3779 return string_to_scm (out);
3783 tmg_bib_text_length (SCM arg1) {
3784 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-text-length");
3786 scheme_tree in1= scm_to_scheme_tree (arg1);
3788 // SCM_DEFER_INTS;
3789 int out= bib_text_length (in1);
3790 // SCM_ALLOW_INTS;
3792 return int_to_scm (out);
3796 tmg_bib_prefix (SCM arg1, SCM arg2) {
3797 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-prefix");
3798 SCM_ASSERT_INT (arg2, SCM_ARG2, "bib-prefix");
3800 scheme_tree in1= scm_to_scheme_tree (arg1);
3801 int in2= scm_to_int (arg2);
3803 // SCM_DEFER_INTS;
3804 string out= bib_prefix (in1, in2);
3805 // SCM_ALLOW_INTS;
3807 return string_to_scm (out);
3811 tmg_bib_emptyP (SCM arg1, SCM arg2) {
3812 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-empty?");
3813 SCM_ASSERT_STRING (arg2, SCM_ARG2, "bib-empty?");
3815 scheme_tree in1= scm_to_scheme_tree (arg1);
3816 string in2= scm_to_string (arg2);
3818 // SCM_DEFER_INTS;
3819 bool out= bib_empty (in1, in2);
3820 // SCM_ALLOW_INTS;
3822 return bool_to_scm (out);
3826 tmg_bib_field (SCM arg1, SCM arg2) {
3827 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-field");
3828 SCM_ASSERT_STRING (arg2, SCM_ARG2, "bib-field");
3830 scheme_tree in1= scm_to_scheme_tree (arg1);
3831 string in2= scm_to_string (arg2);
3833 // SCM_DEFER_INTS;
3834 scheme_tree out= bib_field (in1, in2);
3835 // SCM_ALLOW_INTS;
3837 return scheme_tree_to_scm (out);
3841 tmg_bib_abbreviate (SCM arg1, SCM arg2, SCM arg3) {
3842 SCM_ASSERT_SCHEME_TREE (arg1, SCM_ARG1, "bib-abbreviate");
3843 SCM_ASSERT_SCHEME_TREE (arg2, SCM_ARG2, "bib-abbreviate");
3844 SCM_ASSERT_SCHEME_TREE (arg3, SCM_ARG3, "bib-abbreviate");
3846 scheme_tree in1= scm_to_scheme_tree (arg1);
3847 scheme_tree in2= scm_to_scheme_tree (arg2);
3848 scheme_tree in3= scm_to_scheme_tree (arg3);
3850 // SCM_DEFER_INTS;
3851 scheme_tree out= bib_abbreviate (in1, in2, in3);
3852 // SCM_ALLOW_INTS;
3854 return scheme_tree_to_scm (out);
3857 void
3858 initialize_glue_basic () {
3859 scm_new_procedure ("texmacs-version-release", (FN) tmg_texmacs_version_release, 1, 0, 0);
3860 scm_new_procedure ("version-before?", (FN) tmg_version_beforeP, 2, 0, 0);
3861 scm_new_procedure ("os-win32?", (FN) tmg_os_win32P, 0, 0, 0);
3862 scm_new_procedure ("os-mingw?", (FN) tmg_os_mingwP, 0, 0, 0);
3863 scm_new_procedure ("os-macos?", (FN) tmg_os_macosP, 0, 0, 0);
3864 scm_new_procedure ("x-gui?", (FN) tmg_x_guiP, 0, 0, 0);
3865 scm_new_procedure ("qt-gui?", (FN) tmg_qt_guiP, 0, 0, 0);
3866 scm_new_procedure ("tm-output", (FN) tmg_tm_output, 1, 0, 0);
3867 scm_new_procedure ("tm-errput", (FN) tmg_tm_errput, 1, 0, 0);
3868 scm_new_procedure ("win32-display", (FN) tmg_win32_display, 1, 0, 0);
3869 scm_new_procedure ("scheme-dialect", (FN) tmg_scheme_dialect, 0, 0, 0);
3870 scm_new_procedure ("get-texmacs-path", (FN) tmg_get_texmacs_path, 0, 0, 0);
3871 scm_new_procedure ("plugin-list", (FN) tmg_plugin_list, 0, 0, 0);
3872 scm_new_procedure ("get-font-type", (FN) tmg_get_font_type, 0, 0, 0);
3873 scm_new_procedure ("set-font-type", (FN) tmg_set_font_type, 1, 0, 0);
3874 scm_new_procedure ("font-exists-in-tt?", (FN) tmg_font_exists_in_ttP, 1, 0, 0);
3875 scm_new_procedure ("eval-system", (FN) tmg_eval_system, 1, 0, 0);
3876 scm_new_procedure ("var-eval-system", (FN) tmg_var_eval_system, 1, 0, 0);
3877 scm_new_procedure ("get-locale-language", (FN) tmg_get_locale_language, 0, 0, 0);
3878 scm_new_procedure ("texmacs-time", (FN) tmg_texmacs_time, 0, 0, 0);
3879 scm_new_procedure ("texmacs-memory", (FN) tmg_texmacs_memory, 0, 0, 0);
3880 scm_new_procedure ("bench-print", (FN) tmg_bench_print, 1, 0, 0);
3881 scm_new_procedure ("bench-print-all", (FN) tmg_bench_print_all, 0, 0, 0);
3882 scm_new_procedure ("system-wait", (FN) tmg_system_wait, 2, 0, 0);
3883 scm_new_procedure ("set-bibtex-command", (FN) tmg_set_bibtex_command, 1, 0, 0);
3884 scm_new_procedure ("math-symbol-group", (FN) tmg_math_symbol_group, 1, 0, 0);
3885 scm_new_procedure ("math-group-members", (FN) tmg_math_group_members, 1, 0, 0);
3886 scm_new_procedure ("math-symbol-type", (FN) tmg_math_symbol_type, 1, 0, 0);
3887 scm_new_procedure ("object->command", (FN) tmg_object_2command, 1, 0, 0);
3888 scm_new_procedure ("exec-delayed", (FN) tmg_exec_delayed, 1, 0, 0);
3889 scm_new_procedure ("exec-delayed-pause", (FN) tmg_exec_delayed_pause, 1, 0, 0);
3890 scm_new_procedure ("set-input-language", (FN) tmg_set_input_language, 1, 0, 0);
3891 scm_new_procedure ("get-input-language", (FN) tmg_get_input_language, 0, 0, 0);
3892 scm_new_procedure ("set-output-language", (FN) tmg_set_output_language, 1, 0, 0);
3893 scm_new_procedure ("get-output-language", (FN) tmg_get_output_language, 0, 0, 0);
3894 scm_new_procedure ("translate", (FN) tmg_translate, 3, 0, 0);
3895 scm_new_procedure ("color", (FN) tmg_color, 1, 0, 0);
3896 scm_new_procedure ("new-author", (FN) tmg_new_author, 0, 0, 0);
3897 scm_new_procedure ("set-author", (FN) tmg_set_author, 1, 0, 0);
3898 scm_new_procedure ("get-author", (FN) tmg_get_author, 0, 0, 0);
3899 scm_new_procedure ("image->psdoc", (FN) tmg_image_2psdoc, 1, 0, 0);
3900 scm_new_procedure ("tree->stree", (FN) tmg_tree_2stree, 1, 0, 0);
3901 scm_new_procedure ("stree->tree", (FN) tmg_stree_2tree, 1, 0, 0);
3902 scm_new_procedure ("tree->string", (FN) tmg_tree_2string, 1, 0, 0);
3903 scm_new_procedure ("string->tree", (FN) tmg_string_2tree, 1, 0, 0);
3904 scm_new_procedure ("tm->tree", (FN) tmg_tm_2tree, 1, 0, 0);
3905 scm_new_procedure ("tree-atomic?", (FN) tmg_tree_atomicP, 1, 0, 0);
3906 scm_new_procedure ("tree-compound?", (FN) tmg_tree_compoundP, 1, 0, 0);
3907 scm_new_procedure ("tree-label", (FN) tmg_tree_label, 1, 0, 0);
3908 scm_new_procedure ("tree-children", (FN) tmg_tree_children, 1, 0, 0);
3909 scm_new_procedure ("tree-arity", (FN) tmg_tree_arity, 1, 0, 0);
3910 scm_new_procedure ("tree-child-ref", (FN) tmg_tree_child_ref, 2, 0, 0);
3911 scm_new_procedure ("tree-child-set!", (FN) tmg_tree_child_setS, 3, 0, 0);
3912 scm_new_procedure ("tree-child-insert", (FN) tmg_tree_child_insert, 3, 0, 0);
3913 scm_new_procedure ("tree-ip", (FN) tmg_tree_ip, 1, 0, 0);
3914 scm_new_procedure ("tree-active?", (FN) tmg_tree_activeP, 1, 0, 0);
3915 scm_new_procedure ("tree-eq?", (FN) tmg_tree_eqP, 2, 0, 0);
3916 scm_new_procedure ("subtree", (FN) tmg_subtree, 2, 0, 0);
3917 scm_new_procedure ("tree-range", (FN) tmg_tree_range, 3, 0, 0);
3918 scm_new_procedure ("tree-copy", (FN) tmg_tree_copy, 1, 0, 0);
3919 scm_new_procedure ("tree-append", (FN) tmg_tree_append, 2, 0, 0);
3920 scm_new_procedure ("tree-right-index", (FN) tmg_tree_right_index, 1, 0, 0);
3921 scm_new_procedure ("tree-label-extension?", (FN) tmg_tree_label_extensionP, 1, 0, 0);
3922 scm_new_procedure ("tree-multi-paragraph?", (FN) tmg_tree_multi_paragraphP, 1, 0, 0);
3923 scm_new_procedure ("tree-simplify", (FN) tmg_tree_simplify, 1, 0, 0);
3924 scm_new_procedure ("tree-accessible-child?", (FN) tmg_tree_accessible_childP, 2, 0, 0);
3925 scm_new_procedure ("tree-accessible-children", (FN) tmg_tree_accessible_children, 1, 0, 0);
3926 scm_new_procedure ("tree-load-inclusion", (FN) tmg_tree_load_inclusion, 1, 0, 0);
3927 scm_new_procedure ("tree-as-string", (FN) tmg_tree_as_string, 1, 0, 0);
3928 scm_new_procedure ("tree-extents", (FN) tmg_tree_extents, 1, 0, 0);
3929 scm_new_procedure ("tree-empty?", (FN) tmg_tree_emptyP, 1, 0, 0);
3930 scm_new_procedure ("tree-assign", (FN) tmg_tree_assign, 2, 0, 0);
3931 scm_new_procedure ("tree-var-insert", (FN) tmg_tree_var_insert, 3, 0, 0);
3932 scm_new_procedure ("tree-remove", (FN) tmg_tree_remove, 3, 0, 0);
3933 scm_new_procedure ("tree-split", (FN) tmg_tree_split, 3, 0, 0);
3934 scm_new_procedure ("tree-join", (FN) tmg_tree_join, 2, 0, 0);
3935 scm_new_procedure ("tree-assign-node", (FN) tmg_tree_assign_node, 2, 0, 0);
3936 scm_new_procedure ("tree-insert-node", (FN) tmg_tree_insert_node, 3, 0, 0);
3937 scm_new_procedure ("tree-remove-node", (FN) tmg_tree_remove_node, 2, 0, 0);
3938 scm_new_procedure ("path-inf?", (FN) tmg_path_infP, 2, 0, 0);
3939 scm_new_procedure ("path-inf-eq?", (FN) tmg_path_inf_eqP, 2, 0, 0);
3940 scm_new_procedure ("path-less?", (FN) tmg_path_lessP, 2, 0, 0);
3941 scm_new_procedure ("path-less-eq?", (FN) tmg_path_less_eqP, 2, 0, 0);
3942 scm_new_procedure ("path-start", (FN) tmg_path_start, 2, 0, 0);
3943 scm_new_procedure ("path-end", (FN) tmg_path_end, 2, 0, 0);
3944 scm_new_procedure ("path-next", (FN) tmg_path_next, 2, 0, 0);
3945 scm_new_procedure ("path-previous", (FN) tmg_path_previous, 2, 0, 0);
3946 scm_new_procedure ("path-next-word", (FN) tmg_path_next_word, 2, 0, 0);
3947 scm_new_procedure ("path-previous-word", (FN) tmg_path_previous_word, 2, 0, 0);
3948 scm_new_procedure ("path-next-node", (FN) tmg_path_next_node, 2, 0, 0);
3949 scm_new_procedure ("path-previous-node", (FN) tmg_path_previous_node, 2, 0, 0);
3950 scm_new_procedure ("path-next-tag", (FN) tmg_path_next_tag, 3, 0, 0);
3951 scm_new_procedure ("path-previous-tag", (FN) tmg_path_previous_tag, 3, 0, 0);
3952 scm_new_procedure ("path-next-tag-same-argument", (FN) tmg_path_next_tag_same_argument, 3, 0, 0);
3953 scm_new_procedure ("path-previous-tag-same-argument", (FN) tmg_path_previous_tag_same_argument, 3, 0, 0);
3954 scm_new_procedure ("path-next-argument", (FN) tmg_path_next_argument, 2, 0, 0);
3955 scm_new_procedure ("path-previous-argument", (FN) tmg_path_previous_argument, 2, 0, 0);
3956 scm_new_procedure ("tree->ids", (FN) tmg_tree_2ids, 1, 0, 0);
3957 scm_new_procedure ("id->trees", (FN) tmg_id_2trees, 1, 0, 0);
3958 scm_new_procedure ("vertex->links", (FN) tmg_vertex_2links, 1, 0, 0);
3959 scm_new_procedure ("tree->tree-pointer", (FN) tmg_tree_2tree_pointer, 1, 0, 0);
3960 scm_new_procedure ("tree-pointer-detach", (FN) tmg_tree_pointer_detach, 1, 0, 0);
3961 scm_new_procedure ("tree-pointer->tree", (FN) tmg_tree_pointer_2tree, 1, 0, 0);
3962 scm_new_procedure ("current-link-types", (FN) tmg_current_link_types, 0, 0, 0);
3963 scm_new_procedure ("get-locus-rendering", (FN) tmg_get_locus_rendering, 1, 0, 0);
3964 scm_new_procedure ("set-locus-rendering", (FN) tmg_set_locus_rendering, 2, 0, 0);
3965 scm_new_procedure ("declare-visited", (FN) tmg_declare_visited, 1, 0, 0);
3966 scm_new_procedure ("has-been-visited?", (FN) tmg_has_been_visitedP, 1, 0, 0);
3967 scm_new_procedure ("string-number?", (FN) tmg_string_numberP, 1, 0, 0);
3968 scm_new_procedure ("string-search-forwards", (FN) tmg_string_search_forwards, 3, 0, 0);
3969 scm_new_procedure ("string-search-backwards", (FN) tmg_string_search_backwards, 3, 0, 0);
3970 scm_new_procedure ("string-replace", (FN) tmg_string_replace, 3, 0, 0);
3971 scm_new_procedure ("string-locase-alpha?", (FN) tmg_string_locase_alphaP, 1, 0, 0);
3972 scm_new_procedure ("upcase-first", (FN) tmg_upcase_first, 1, 0, 0);
3973 scm_new_procedure ("locase-first", (FN) tmg_locase_first, 1, 0, 0);
3974 scm_new_procedure ("upcase-all", (FN) tmg_upcase_all, 1, 0, 0);
3975 scm_new_procedure ("locase-all", (FN) tmg_locase_all, 1, 0, 0);
3976 scm_new_procedure ("string-union", (FN) tmg_string_union, 2, 0, 0);
3977 scm_new_procedure ("string-minus", (FN) tmg_string_minus, 2, 0, 0);
3978 scm_new_procedure ("string-encode", (FN) tmg_string_encode, 1, 0, 0);
3979 scm_new_procedure ("string-decode", (FN) tmg_string_decode, 1, 0, 0);
3980 scm_new_procedure ("escape-generic", (FN) tmg_escape_generic, 1, 0, 0);
3981 scm_new_procedure ("escape-verbatim", (FN) tmg_escape_verbatim, 1, 0, 0);
3982 scm_new_procedure ("escape-shell", (FN) tmg_escape_shell, 1, 0, 0);
3983 scm_new_procedure ("string-convert", (FN) tmg_string_convert, 3, 0, 0);
3984 scm_new_procedure ("utf8->cork", (FN) tmg_utf8_2cork, 1, 0, 0);
3985 scm_new_procedure ("cork->utf8", (FN) tmg_cork_2utf8, 1, 0, 0);
3986 scm_new_procedure ("utf8->html", (FN) tmg_utf8_2html, 1, 0, 0);
3987 scm_new_procedure ("tm->xml-name", (FN) tmg_tm_2xml_name, 1, 0, 0);
3988 scm_new_procedure ("old-tm->xml-cdata", (FN) tmg_old_tm_2xml_cdata, 1, 0, 0);
3989 scm_new_procedure ("tm->xml-cdata", (FN) tmg_tm_2xml_cdata, 1, 0, 0);
3990 scm_new_procedure ("xml-name->tm", (FN) tmg_xml_name_2tm, 1, 0, 0);
3991 scm_new_procedure ("old-xml-cdata->tm", (FN) tmg_old_xml_cdata_2tm, 1, 0, 0);
3992 scm_new_procedure ("xml-unspace", (FN) tmg_xml_unspace, 3, 0, 0);
3993 scm_new_procedure ("define-grammar-rule", (FN) tmg_define_grammar_rule, 2, 0, 0);
3994 scm_new_procedure ("grammar-parse", (FN) tmg_grammar_parse, 2, 0, 0);
3995 scm_new_procedure ("parse-texmacs", (FN) tmg_parse_texmacs, 1, 0, 0);
3996 scm_new_procedure ("serialize-texmacs", (FN) tmg_serialize_texmacs, 1, 0, 0);
3997 scm_new_procedure ("parse-texmacs-snippet", (FN) tmg_parse_texmacs_snippet, 1, 0, 0);
3998 scm_new_procedure ("serialize-texmacs-snippet", (FN) tmg_serialize_texmacs_snippet, 1, 0, 0);
3999 scm_new_procedure ("texmacs->stm", (FN) tmg_texmacs_2stm, 1, 0, 0);
4000 scm_new_procedure ("stm->texmacs", (FN) tmg_stm_2texmacs, 1, 0, 0);
4001 scm_new_procedure ("stm-snippet->texmacs", (FN) tmg_stm_snippet_2texmacs, 1, 0, 0);
4002 scm_new_procedure ("cpp-texmacs->verbatim", (FN) tmg_cpp_texmacs_2verbatim, 3, 0, 0);
4003 scm_new_procedure ("cpp-verbatim-snippet->texmacs", (FN) tmg_cpp_verbatim_snippet_2texmacs, 3, 0, 0);
4004 scm_new_procedure ("cpp-verbatim->texmacs", (FN) tmg_cpp_verbatim_2texmacs, 3, 0, 0);
4005 scm_new_procedure ("parse-latex", (FN) tmg_parse_latex, 1, 0, 0);
4006 scm_new_procedure ("parse-latex-document", (FN) tmg_parse_latex_document, 1, 0, 0);
4007 scm_new_procedure ("latex->texmacs", (FN) tmg_latex_2texmacs, 1, 0, 0);
4008 scm_new_procedure ("parse-xml", (FN) tmg_parse_xml, 1, 0, 0);
4009 scm_new_procedure ("parse-html", (FN) tmg_parse_html, 1, 0, 0);
4010 scm_new_procedure ("parse-bib", (FN) tmg_parse_bib, 1, 0, 0);
4011 scm_new_procedure ("upgrade-tmml", (FN) tmg_upgrade_tmml, 1, 0, 0);
4012 scm_new_procedure ("string->url", (FN) tmg_string_2url, 1, 0, 0);
4013 scm_new_procedure ("url", (FN) tmg_url, 2, 0, 0);
4014 scm_new_procedure ("url-system", (FN) tmg_url_system, 1, 0, 0);
4015 scm_new_procedure ("url-none", (FN) tmg_url_none, 0, 0, 0);
4016 scm_new_procedure ("url-any", (FN) tmg_url_any, 0, 0, 0);
4017 scm_new_procedure ("url-wildcard", (FN) tmg_url_wildcard, 1, 0, 0);
4018 scm_new_procedure ("url-parent", (FN) tmg_url_parent, 0, 0, 0);
4019 scm_new_procedure ("url-append", (FN) tmg_url_append, 2, 0, 0);
4020 scm_new_procedure ("url-or", (FN) tmg_url_or, 2, 0, 0);
4021 scm_new_procedure ("url->string", (FN) tmg_url_2string, 1, 0, 0);
4022 scm_new_procedure ("url-none?", (FN) tmg_url_noneP, 1, 0, 0);
4023 scm_new_procedure ("url-rooted-web?", (FN) tmg_url_rooted_webP, 1, 0, 0);
4024 scm_new_procedure ("url-concat?", (FN) tmg_url_concatP, 1, 0, 0);
4025 scm_new_procedure ("url-or?", (FN) tmg_url_orP, 1, 0, 0);
4026 scm_new_procedure ("url-ref", (FN) tmg_url_ref, 2, 0, 0);
4027 scm_new_procedure ("url-tail", (FN) tmg_url_tail, 1, 0, 0);
4028 scm_new_procedure ("url-suffix", (FN) tmg_url_suffix, 1, 0, 0);
4029 scm_new_procedure ("url-glue", (FN) tmg_url_glue, 2, 0, 0);
4030 scm_new_procedure ("url-unglue", (FN) tmg_url_unglue, 2, 0, 0);
4031 scm_new_procedure ("url-relative", (FN) tmg_url_relative, 2, 0, 0);
4032 scm_new_procedure ("url-expand", (FN) tmg_url_expand, 1, 0, 0);
4033 scm_new_procedure ("url-factor", (FN) tmg_url_factor, 1, 0, 0);
4034 scm_new_procedure ("url-delta", (FN) tmg_url_delta, 2, 0, 0);
4035 scm_new_procedure ("url-secure?", (FN) tmg_url_secureP, 1, 0, 0);
4036 scm_new_procedure ("url-descends?", (FN) tmg_url_descendsP, 2, 0, 0);
4037 scm_new_procedure ("url-complete", (FN) tmg_url_complete, 2, 0, 0);
4038 scm_new_procedure ("url-resolve", (FN) tmg_url_resolve, 2, 0, 0);
4039 scm_new_procedure ("url-resolve-in-path", (FN) tmg_url_resolve_in_path, 1, 0, 0);
4040 scm_new_procedure ("url-exists?", (FN) tmg_url_existsP, 1, 0, 0);
4041 scm_new_procedure ("url-exists-in-path?", (FN) tmg_url_exists_in_pathP, 1, 0, 0);
4042 scm_new_procedure ("url-exists-in-tex?", (FN) tmg_url_exists_in_texP, 1, 0, 0);
4043 scm_new_procedure ("url-concretize", (FN) tmg_url_concretize, 1, 0, 0);
4044 scm_new_procedure ("url-materialize", (FN) tmg_url_materialize, 2, 0, 0);
4045 scm_new_procedure ("url-test?", (FN) tmg_url_testP, 2, 0, 0);
4046 scm_new_procedure ("url-regular?", (FN) tmg_url_regularP, 1, 0, 0);
4047 scm_new_procedure ("url-directory?", (FN) tmg_url_directoryP, 1, 0, 0);
4048 scm_new_procedure ("url-link?", (FN) tmg_url_linkP, 1, 0, 0);
4049 scm_new_procedure ("url-newer?", (FN) tmg_url_newerP, 2, 0, 0);
4050 scm_new_procedure ("url-last-modified", (FN) tmg_url_last_modified, 1, 0, 0);
4051 scm_new_procedure ("url-temp", (FN) tmg_url_temp, 0, 0, 0);
4052 scm_new_procedure ("url-scratch", (FN) tmg_url_scratch, 3, 0, 0);
4053 scm_new_procedure ("url-scratch?", (FN) tmg_url_scratchP, 1, 0, 0);
4054 scm_new_procedure ("string-save", (FN) tmg_string_save, 2, 0, 0);
4055 scm_new_procedure ("string-load", (FN) tmg_string_load, 1, 0, 0);
4056 scm_new_procedure ("system-move", (FN) tmg_system_move, 2, 0, 0);
4057 scm_new_procedure ("system-copy", (FN) tmg_system_copy, 2, 0, 0);
4058 scm_new_procedure ("system-remove", (FN) tmg_system_remove, 1, 0, 0);
4059 scm_new_procedure ("system-mkdir", (FN) tmg_system_mkdir, 1, 0, 0);
4060 scm_new_procedure ("system-search-score", (FN) tmg_system_search_score, 2, 0, 0);
4061 scm_new_procedure ("system-1", (FN) tmg_system_1, 2, 0, 0);
4062 scm_new_procedure ("system-2", (FN) tmg_system_2, 3, 0, 0);
4063 scm_new_procedure ("tmfs-set", (FN) tmg_tmfs_set, 2, 0, 0);
4064 scm_new_procedure ("tmfs-reset", (FN) tmg_tmfs_reset, 2, 0, 0);
4065 scm_new_procedure ("tmfs-get", (FN) tmg_tmfs_get, 1, 0, 0);
4066 scm_new_procedure ("tmfs-new-save", (FN) tmg_tmfs_new_save, 2, 0, 0);
4067 scm_new_procedure ("tmfs-new-remove", (FN) tmg_tmfs_new_remove, 1, 0, 0);
4068 scm_new_procedure ("tmfs-new-load", (FN) tmg_tmfs_new_load, 1, 0, 0);
4069 scm_new_procedure ("tmfs-create-ressource", (FN) tmg_tmfs_create_ressource, 0, 0, 0);
4070 scm_new_procedure ("tmfs-ressource-head", (FN) tmg_tmfs_ressource_head, 1, 0, 0);
4071 scm_new_procedure ("tmfs-ressource-versions", (FN) tmg_tmfs_ressource_versions, 1, 0, 0);
4072 scm_new_procedure ("tmfs-save-ressource", (FN) tmg_tmfs_save_ressource, 3, 0, 0);
4073 scm_new_procedure ("tmfs-load-ressource-file", (FN) tmg_tmfs_load_ressource_file, 1, 0, 0);
4074 scm_new_procedure ("tmfs-load-ressource-properties", (FN) tmg_tmfs_load_ressource_properties, 1, 0, 0);
4075 scm_new_procedure ("tmfs-create-user", (FN) tmg_tmfs_create_user, 1, 0, 0);
4076 scm_new_procedure ("tmfs-search-user", (FN) tmg_tmfs_search_user, 1, 0, 0);
4077 scm_new_procedure ("tmfs-set-user", (FN) tmg_tmfs_set_user, 1, 0, 0);
4078 scm_new_procedure ("tmfs-get-user", (FN) tmg_tmfs_get_user, 0, 0, 0);
4079 scm_new_procedure ("tmfs-allows?", (FN) tmg_tmfs_allowsP, 2, 0, 0);
4080 scm_new_procedure ("tmfs-set-attributes", (FN) tmg_tmfs_set_attributes, 2, 0, 0);
4081 scm_new_procedure ("tmfs-get-attributes", (FN) tmg_tmfs_get_attributes, 1, 0, 0);
4082 scm_new_procedure ("tmfs-add-attributes", (FN) tmg_tmfs_add_attributes, 2, 0, 0);
4083 scm_new_procedure ("tmfs-remove-attributes", (FN) tmg_tmfs_remove_attributes, 2, 0, 0);
4084 scm_new_procedure ("tmfs-change-attributes", (FN) tmg_tmfs_change_attributes, 2, 0, 0);
4085 scm_new_procedure ("tmfs-query", (FN) tmg_tmfs_query, 1, 0, 0);
4086 scm_new_procedure ("solutions->collection", (FN) tmg_solutions_2collection, 2, 0, 0);
4087 scm_new_procedure ("tmfs-create-file", (FN) tmg_tmfs_create_file, 2, 0, 0);
4088 scm_new_procedure ("tmfs-create-file-in", (FN) tmg_tmfs_create_file_in, 3, 0, 0);
4089 scm_new_procedure ("tmfs-search-file", (FN) tmg_tmfs_search_file, 1, 0, 0);
4090 scm_new_procedure ("tmfs-save-file", (FN) tmg_tmfs_save_file, 2, 0, 0);
4091 scm_new_procedure ("tmfs-load-file", (FN) tmg_tmfs_load_file, 1, 0, 0);
4092 scm_new_procedure ("tmfs-create-project", (FN) tmg_tmfs_create_project, 1, 0, 0);
4093 scm_new_procedure ("tmfs-search-project", (FN) tmg_tmfs_search_project, 1, 0, 0);
4094 scm_new_procedure ("tmfs-get-file-projects", (FN) tmg_tmfs_get_file_projects, 1, 0, 0);
4095 scm_new_procedure ("tmfs-get-project-files", (FN) tmg_tmfs_get_project_files, 1, 0, 0);
4096 scm_new_procedure ("tmfs-create-branch", (FN) tmg_tmfs_create_branch, 2, 0, 0);
4097 scm_new_procedure ("tmfs-set-root", (FN) tmg_tmfs_set_root, 2, 0, 0);
4098 scm_new_procedure ("tmfs-get-root", (FN) tmg_tmfs_get_root, 1, 0, 0);
4099 scm_new_procedure ("tmfs-import", (FN) tmg_tmfs_import, 1, 0, 0);
4100 scm_new_procedure ("tmfs-export", (FN) tmg_tmfs_export, 1, 0, 0);
4101 scm_new_procedure ("server-start", (FN) tmg_server_start, 0, 0, 0);
4102 scm_new_procedure ("server-stop", (FN) tmg_server_stop, 0, 0, 0);
4103 scm_new_procedure ("server-read", (FN) tmg_server_read, 1, 0, 0);
4104 scm_new_procedure ("server-write", (FN) tmg_server_write, 2, 0, 0);
4105 scm_new_procedure ("client-start", (FN) tmg_client_start, 1, 0, 0);
4106 scm_new_procedure ("client-stop", (FN) tmg_client_stop, 0, 0, 0);
4107 scm_new_procedure ("client-read", (FN) tmg_client_read, 0, 0, 0);
4108 scm_new_procedure ("client-write", (FN) tmg_client_write, 1, 0, 0);
4109 scm_new_procedure ("enter-secure-mode", (FN) tmg_enter_secure_mode, 0, 0, 0);
4110 scm_new_procedure ("connection-start", (FN) tmg_connection_start, 2, 0, 0);
4111 scm_new_procedure ("connection-status", (FN) tmg_connection_status, 2, 0, 0);
4112 scm_new_procedure ("connection-write", (FN) tmg_connection_write, 3, 0, 0);
4113 scm_new_procedure ("connection-cmd", (FN) tmg_connection_cmd, 3, 0, 0);
4114 scm_new_procedure ("connection-eval", (FN) tmg_connection_eval, 3, 0, 0);
4115 scm_new_procedure ("connection-interrupt", (FN) tmg_connection_interrupt, 2, 0, 0);
4116 scm_new_procedure ("connection-stop", (FN) tmg_connection_stop, 2, 0, 0);
4117 scm_new_procedure ("widget-hmenu", (FN) tmg_widget_hmenu, 1, 0, 0);
4118 scm_new_procedure ("widget-vmenu", (FN) tmg_widget_vmenu, 1, 0, 0);
4119 scm_new_procedure ("widget-tmenu", (FN) tmg_widget_tmenu, 2, 0, 0);
4120 scm_new_procedure ("widget-separator", (FN) tmg_widget_separator, 1, 0, 0);
4121 scm_new_procedure ("widget-menu-group", (FN) tmg_widget_menu_group, 2, 0, 0);
4122 scm_new_procedure ("widget-pulldown-button", (FN) tmg_widget_pulldown_button, 2, 0, 0);
4123 scm_new_procedure ("widget-pullright-button", (FN) tmg_widget_pullright_button, 2, 0, 0);
4124 scm_new_procedure ("widget-menu-button", (FN) tmg_widget_menu_button, 5, 0, 0);
4125 scm_new_procedure ("widget-balloon", (FN) tmg_widget_balloon, 2, 0, 0);
4126 scm_new_procedure ("widget-empty", (FN) tmg_widget_empty, 0, 0, 0);
4127 scm_new_procedure ("widget-text", (FN) tmg_widget_text, 4, 0, 0);
4128 scm_new_procedure ("widget-xpm", (FN) tmg_widget_xpm, 1, 0, 0);
4129 scm_new_procedure ("widget-box", (FN) tmg_widget_box, 5, 0, 0);
4130 scm_new_procedure ("object->promise-widget", (FN) tmg_object_2promise_widget, 1, 0, 0);
4131 scm_new_procedure ("bib-add-period", (FN) tmg_bib_add_period, 1, 0, 0);
4132 scm_new_procedure ("bib-upcase-first", (FN) tmg_bib_upcase_first, 1, 0, 0);
4133 scm_new_procedure ("bib-locase", (FN) tmg_bib_locase, 1, 0, 0);
4134 scm_new_procedure ("bib-upcase", (FN) tmg_bib_upcase, 1, 0, 0);
4135 scm_new_procedure ("bib-default", (FN) tmg_bib_default, 1, 0, 0);
4136 scm_new_procedure ("bib-purify", (FN) tmg_bib_purify, 1, 0, 0);
4137 scm_new_procedure ("bib-text-length", (FN) tmg_bib_text_length, 1, 0, 0);
4138 scm_new_procedure ("bib-prefix", (FN) tmg_bib_prefix, 2, 0, 0);
4139 scm_new_procedure ("bib-empty?", (FN) tmg_bib_emptyP, 2, 0, 0);
4140 scm_new_procedure ("bib-field", (FN) tmg_bib_field, 2, 0, 0);
4141 scm_new_procedure ("bib-abbreviate", (FN) tmg_bib_abbreviate, 3, 0, 0);