default library is picrin.user
This commit is contained in:
parent
ca4fb058d1
commit
3feee82d8b
|
@ -292,15 +292,16 @@ pic_open(pic_allocf allocf, void *userdata)
|
||||||
pic->cp->depth = 0;
|
pic->cp->depth = 0;
|
||||||
pic->cp->in = pic->cp->out = NULL;
|
pic->cp->in = pic->cp->out = NULL;
|
||||||
|
|
||||||
/* standard libraries */
|
/* user land */
|
||||||
pic_make_library(pic, "picrin.user");
|
pic_deflibrary(pic, "picrin.user");
|
||||||
pic_in_library(pic, "picrin.user");
|
|
||||||
|
|
||||||
/* turn on GC */
|
/* turn on GC */
|
||||||
pic->gc_enable = true;
|
pic->gc_enable = true;
|
||||||
|
|
||||||
pic_init_core(pic);
|
pic_init_core(pic);
|
||||||
|
|
||||||
|
pic_in_library(pic, "picrin.user");
|
||||||
|
|
||||||
pic_leave(pic, 0); /* empty arena */
|
pic_leave(pic, 0); /* empty arena */
|
||||||
|
|
||||||
return pic;
|
return pic;
|
||||||
|
|
Loading…
Reference in New Issue