mirror of
https://github.com/janet-lang/janet
synced 2024-11-16 21:54:48 +00:00
Fix amalg build.
This commit is contained in:
parent
bca0392738
commit
e542ba7e4d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user