[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/25] New module: system/foreign/declarative.scm
From: |
KAction |
Subject: |
[PATCH 01/25] New module: system/foreign/declarative.scm |
Date: |
Mon, 18 Jul 2016 18:17:24 +0300 |
From: Dmitry Bogatov <address@hidden>
* module/system/foreign/declarative.scm: currently empty
module, that successfully compiles and gets installed
* module/Makefile.am: insert new module into list of
known Guile modules
---
module/Makefile.am | 6 ++----
module/system/foreign/declarative.scm | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 4 deletions(-)
create mode 100644 module/system/foreign/declarative.scm
diff --git a/module/Makefile.am b/module/Makefile.am
index f590fb9..137530d 100644
--- a/module/Makefile.am
+++ b/module/Makefile.am
@@ -302,13 +302,11 @@ SOURCES = \
system/base/lalr.scm \
system/base/message.scm \
system/base/target.scm \
- system/base/types.scm \
+ system/base/types.scm \
system/base/ck.scm \
- \
system/foreign.scm \
- \
system/foreign-object.scm \
- \
+ system/foreign/declarative.scm \
system/repl/debug.scm \
system/repl/error-handling.scm \
system/repl/common.scm \
diff --git a/module/system/foreign/declarative.scm
b/module/system/foreign/declarative.scm
new file mode 100644
index 0000000..87a960c
--- /dev/null
+++ b/module/system/foreign/declarative.scm
@@ -0,0 +1,16 @@
+;;; declarative.scm --- declaratively define foreign function interface
+
+;; Copyright (C) 2016 Free Software Foundation, Inc
+
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License
+;; as published by the Free Software Foundation; either version 3
+;; of the License, or (at your option) any later version.
+
+;; This program 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 General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
--
I may be not subscribed. Please, keep me in carbon copy.
- Foreign-declarative module, KAction, 2016/07/18
- [PATCH 01/25] New module: system/foreign/declarative.scm,
KAction <=
- [PATCH 02/25] Define <ffi-type> structure, KAction, 2016/07/18
- [PATCH 03/25] Mirror types from system/foreign as <foreign-type>, KAction, 2016/07/18
- [PATCH 04/25] Write boilerplate for primitive types, KAction, 2016/07/18
- [PATCH 05/25] Fix bug in `default' macro, KAction, 2016/07/18
- [PATCH 06/25] Basic implementation of `define-foreign-function', KAction, 2016/07/18
- [PATCH 07/25] Introduce foreign-type predicates, KAction, 2016/07/18
- [PATCH 08/25] Add keywords for `define-foreign-function' macro, KAction, 2016/07/18
- [PATCH 10/25] Refactor type validation in `define-foreign-function', KAction, 2016/07/18