summaryrefslogtreecommitdiffstats
path: root/autoload.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-02-19 09:03:41 -0800
committerKaz Kylheku <kaz@kylheku.com>2022-02-19 09:03:41 -0800
commitf20db9ab6cacd73f4276c6541d3009e731811a7e (patch)
tree0c6217de89a535784f7001803d84893a1440af4a /autoload.h
parentcaf46a07285ce2b214fdfce1b2af3375966c52f9 (diff)
downloadtxr-f20db9ab6cacd73f4276c6541d3009e731811a7e.tar.gz
txr-f20db9ab6cacd73f4276c6541d3009e731811a7e.tar.bz2
txr-f20db9ab6cacd73f4276c6541d3009e731811a7e.zip
autoload: move socket material into socket module.
* autoload.c (sock_set_entries, sock_instantiate): Functions removed from here. (autoload_init): autoload_reg call for above functions removed from here. (autoload_intern): New function, wrapper for intern_only. sock_set_entries uses intern_only which is static, so we need to expose this. * autoload.h (autoload_intern): Declared. * socket.c (sock_set_entries, sock_instantiate): Functions moved here. intern_only call replaced with autoload_intern. (sock_load_init): Function removed: body moved into sock_instantiate, which no longer calls sock_load_init.
Diffstat (limited to 'autoload.h')
-rw-r--r--autoload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload.h b/autoload.h
index 7097583b..f648f3f5 100644
--- a/autoload.h
+++ b/autoload.h
@@ -41,3 +41,4 @@ val autoload_try_keyword(val sym);
void autoload_set(al_ns_t ns, val *name, val fun);
val autoload_reg(val (*instantiate)(void),
val (*set_entries)(val));
+void autoload_intern(val *namearray);