merge file/load/mutable-string/system/time contribs into r7rs

This commit is contained in:
Yuichi Nishiwaki 2015-05-30 19:39:18 +09:00
parent 3a2d3406bb
commit 92bed39fae
12 changed files with 31 additions and 10 deletions

View File

@ -1,2 +0,0 @@
CONTRIB_INITS += file
CONTRIB_SRCS += $(wildcard contrib/03.file/src/*.c)

View File

@ -1,2 +0,0 @@
CONTRIB_INITS += load
CONTRIB_SRCS += $(wildcard contrib/03.load/src/*.c)

View File

@ -1,2 +0,0 @@
CONTRIB_INITS += mutable_string
CONTRIB_SRCS += $(wildcard contrib/03.mutable-string/*.c)

View File

@ -1,2 +0,0 @@
CONTRIB_INITS += system
CONTRIB_SRCS += $(wildcard contrib/03.system/src/*.c)

View File

@ -1,2 +0,0 @@
CONTRIB_INITS += time
CONTRIB_SRCS += $(wildcard contrib/03.time/src/*.c)

View File

@ -1,3 +1,13 @@
CONTRIB_INITS += r7rs
CONTRIB_SRCS += \
contrib/05.r7rs/src/r7rs.c\
contrib/05.r7rs/src/file.c\
contrib/05.r7rs/src/load.c\
contrib/05.r7rs/src/mutable-string.c\
contrib/05.r7rs/src/system.c\
contrib/05.r7rs/src/time.c
CONTRIB_LIBS += \
contrib/05.r7rs/scheme/base.scm\
contrib/05.r7rs/scheme/cxr.scm\

View File

@ -0,0 +1,21 @@
/**
* See Copyright Notice in picrin.h
*/
#include "picrin.h"
void pic_init_file(pic_state *);
void pic_init_load(pic_state *);
void pic_init_mutable_string(pic_state *);
void pic_init_system(pic_state *);
void pic_init_time(pic_state *);
void
pic_init_r7rs(pic_state *pic)
{
pic_init_file(pic);
pic_init_load(pic);
pic_init_mutable_string(pic);
pic_init_system(pic);
pic_init_time(pic);
}