1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 09:47:17 +00:00

Fix amalg build.

This commit is contained in:
Calvin Rose 2019-11-27 12:43:45 -06:00
parent bca0392738
commit e542ba7e4d

View File

@ -146,7 +146,7 @@ static Janet cfun_from_image(int32_t argc, Janet *argv) {
return janet_wrap_abstract(thread);
}
static const JanetReg it_cfuns[] = {
static const JanetReg threadlib_cfuns[] = {
{
"thread/from-image", cfun_from_image,
JDOC("(thread/from-image image)\n\n"
@ -157,7 +157,7 @@ static const JanetReg it_cfuns[] = {
/* Module entry point */
void janet_lib_thread(JanetTable *env) {
janet_core_cfuns(env, NULL, it_cfuns);
janet_core_cfuns(env, NULL, threadlib_cfuns);
}
#endif