update benz (pic_open)

This commit is contained in:
Yuichi Nishiwaki 2014-09-09 00:09:31 +09:00
parent 230c87d455
commit 0c6ffa3e7b
2 changed files with 5 additions and 6 deletions

@ -1 +1 @@
Subproject commit 4fd4e15cc196a89e5ed5133896d7b8b9f4b2c10a
Subproject commit 2d80522230358a4f3f2a1cd1af56da16d0f612d0

View File

@ -6,6 +6,9 @@
#include "picrin/pair.h"
#include "picrin/error.h"
void pic_init_contrib(pic_state *);
void pic_load_piclib(pic_state *);
static pic_value
pic_features(pic_state *pic)
{
@ -34,9 +37,6 @@ pic_libraries(pic_state *pic)
return libs;
}
void pic_init_contrib(pic_state *);
void pic_load_piclib(pic_state *);
void
pic_init_picrin(pic_state *pic)
{
@ -55,11 +55,10 @@ pic_init_picrin(pic_state *pic)
int
main(int argc, char *argv[], char **envp)
{
xFILE *stdio[3] = { xstdin, xstdout, xstderr };
pic_state *pic;
int status = 0;
pic = pic_open(argc, argv, envp, stdio);
pic = pic_open(argc, argv, envp);
pic_init_picrin(pic);