summaryrefslogtreecommitdiff
path: root/libguile/foreign.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-09-06 22:24:44 +0200
committerLudovic Courtès <ludo@gnu.org>2010-09-06 22:24:44 +0200
commit2ee073587a28161dfb6b95f250be2d8a5df26cae (patch)
tree6e165113473328fdb90624301118652d60fbbba2 /libguile/foreign.h
parent7884975a890a461fb62178eeb3dfbb8b30b28ba2 (diff)
downloadguile-2ee073587a28161dfb6b95f250be2d8a5df26cae.tar.gz
Rename `make-foreign-function' to `pointer->procedure'.
* libguile/foreign.c (scm_make_foreign_function): Rename to... (scm_pointer_to_procedure): ... this. * libguile/foreign.h: Adjust accordingly. * module/system/foreign.scm: Likewise. * test-suite/standalone/test-ffi: Likewise. * test-suite/tests/foreign.test: Likewise. * doc/ref/api-foreign.texi: Likewise.
Diffstat (limited to 'libguile/foreign.h')
-rw-r--r--libguile/foreign.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/foreign.h b/libguile/foreign.h
index 1c576211f..e534d48cb 100644
--- a/libguile/foreign.h
+++ b/libguile/foreign.h
@@ -93,8 +93,8 @@ SCM_INTERNAL SCM scm_pointer_to_string (SCM pointer);
arguments.
*/
-SCM_API SCM scm_make_foreign_function (SCM return_type, SCM func_ptr,
- SCM arg_types);
+SCM_API SCM scm_pointer_to_procedure (SCM return_type, SCM func_ptr,
+ SCM arg_types);
SCM_API SCM scm_procedure_to_pointer (SCM return_type, SCM func_ptr,
SCM arg_types);
SCM_INTERNAL SCM scm_i_foreign_call (SCM foreign, const SCM *argv);