summaryrefslogtreecommitdiff
path: root/libguile/loader.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2013-11-19 21:45:07 +0100
committerAndy Wingo <wingo@pobox.com>2013-11-19 21:45:07 +0100
commit4cbc95f1507249d757391927da42feaaf969a60a (patch)
treedd5f0c29c77de3dba1dcbd587337f45c1e0f77c2 /libguile/loader.h
parentc0a1a0b12d2e63c62ecdb82c570b5bb7faf637e1 (diff)
Rename objcodes?.{scm,c,h} to loader.{scm,c,h}
* libguile/loader.c: * libguile/loader.h: Rename from objcodes.[ch]. * module/system/vm/loader.scm: Rename from objcode.scm. * libguile/Makefile.am: * libguile/gsubr.c: * libguile/init.c: * libguile/procs.c: * libguile/vm.c: * module/Makefile.am: * module/ice-9/eval-string.scm: * module/language/rtl/spec.scm: * module/system/base/target.scm: * module/system/repl/command.scm: * module/system/repl/common.scm: * module/system/vm/debug.scm: * module/system/vm/disassembler.scm: * module/system/vm/objcode.scm: * test-suite/tests/compiler.test: * test-suite/tests/dwarf.test: * test-suite/tests/rtl-compilation.test: * test-suite/tests/rtl.test: Adapt.
Diffstat (limited to 'libguile/loader.h')
-rw-r--r--libguile/loader.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/libguile/loader.h b/libguile/loader.h
new file mode 100644
index 000000000..194faff22
--- /dev/null
+++ b/libguile/loader.h
@@ -0,0 +1,36 @@
+/* Copyright (C) 2001, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 3 of
+ * the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
+#ifndef _SCM_LOADER_H_
+#define _SCM_LOADER_H_
+
+#include <libguile.h>
+
+SCM_API SCM scm_load_thunk_from_file (SCM filename);
+SCM_API SCM scm_load_thunk_from_memory (SCM bv);
+
+SCM_INTERNAL void scm_bootstrap_loader (void);
+SCM_INTERNAL void scm_init_loader (void);
+
+#endif /* _SCM_LOADER_H_ */
+
+/*
+ Local Variables:
+ c-file-style: "gnu"
+ End:
+*/