Merge pull request #279 from omasanori/rename-inits
Rename initialize funtions of SRFIs to srfi_<n>.
This commit is contained in:
commit
c1478400cd
|
@ -1,4 +1,6 @@
|
|||
CONTRIB_INITS += features socket
|
||||
CONTRIB_INITS += \
|
||||
srfi_0 \
|
||||
srfi_106
|
||||
CONTRIB_LIBS += \
|
||||
contrib/40.srfi/srfi/0.scm\
|
||||
contrib/40.srfi/srfi/1.scm\
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "picrin.h"
|
||||
|
||||
void
|
||||
pic_init_features(pic_state *pic)
|
||||
pic_init_srfi_0(pic_state *pic)
|
||||
{
|
||||
pic_add_feature(pic, "srfi-0");
|
||||
pic_add_feature(pic, "srfi-1");
|
||||
|
|
|
@ -397,7 +397,7 @@ pic_socket_call_with_socket(pic_state *pic)
|
|||
}
|
||||
|
||||
void
|
||||
pic_init_socket(pic_state *pic)
|
||||
pic_init_srfi_106(pic_state *pic)
|
||||
{
|
||||
pic_deflibrary (pic, "(srfi 106)") {
|
||||
pic_defun_(pic, "socket?", pic_socket_socket_p);
|
||||
|
|
Loading…
Reference in New Issue