mirror of
https://github.com/janet-lang/janet
synced 2025-07-04 19:12:55 +00:00
Update license to include contributors.
Use 4 spaces for indentation.
This commit is contained in:
parent
f6a3853131
commit
1394dbbd57
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2019 Calvin Rose
|
Copyright (c) 2019 Calvin Rose and contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
@ -26,8 +26,6 @@ static int num_array_gc(void *p, size_t s) {
|
|||||||
Janet num_array_get(void *p, Janet key);
|
Janet num_array_get(void *p, Janet key);
|
||||||
void num_array_put(void *p, Janet key, Janet value);
|
void num_array_put(void *p, Janet key, Janet value);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static const JanetAbstractType num_array_type = {
|
static const JanetAbstractType num_array_type = {
|
||||||
"numarray",
|
"numarray",
|
||||||
num_array_gc,
|
num_array_gc,
|
||||||
@ -108,8 +106,6 @@ Janet num_array_get(void *p, Janet key) {
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static const JanetReg cfuns[] = {
|
static const JanetReg cfuns[] = {
|
||||||
{"numarray/new", num_array_new,
|
{"numarray/new", num_array_new,
|
||||||
"(numarray/new size)\n\n"
|
"(numarray/new size)\n\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user