this repo has no description
1#include <janet.h>
2
3static Janet cfun_hello(int32_t argc, Janet *argv) {
4 janet_fixarity(argc, 0);
5 printf("hello world\n");
6 return janet_wrap_nil();
7}
8
9static JanetReg cfuns[] = {
10 {"hello", cfun_hello, "(hello)\n\nprints hello"},
11 {NULL, NULL, NULL}
12};
13
14JANET_MODULE_ENTRY(JanetTable *env) {
15 janet_cfuns(env, "set", cfuns);
16}