koffi 2.2.4 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ChangeLog.md → CHANGELOG.md} +6 -0
- package/LICENSE.txt +160 -656
- package/README.md +1 -1
- package/doc/changes.md +1 -1
- package/doc/index.rst +1 -1
- package/doc/static/custom.css +3 -3
- package/package.json +4 -4
- package/src/cnoke/LICENSE.txt +160 -656
- package/src/cnoke/assets/FindCNoke.cmake +3 -3
- package/src/cnoke/assets/win_delay_hook.c +3 -3
- package/src/cnoke/cnoke.js +3 -3
- package/src/cnoke/package.json +2 -2
- package/src/core/libcc/libcc.cc +4 -4
- package/src/core/libcc/libcc.hh +3 -3
- package/src/koffi/CMakeLists.txt +3 -3
- package/src/koffi/benchmark/CMakeLists.txt +3 -3
- package/src/koffi/benchmark/atoi_koffi.js +3 -3
- package/src/koffi/benchmark/atoi_napi.cc +3 -3
- package/src/koffi/benchmark/atoi_napi.js +3 -3
- package/src/koffi/benchmark/atoi_node_ffi.js +3 -3
- package/src/koffi/benchmark/benchmark.js +3 -3
- package/src/koffi/benchmark/rand_koffi.js +3 -3
- package/src/koffi/benchmark/rand_napi.cc +3 -3
- package/src/koffi/benchmark/rand_napi.js +3 -3
- package/src/koffi/benchmark/rand_node_ffi.js +3 -3
- package/src/koffi/benchmark/raylib_cc.cc +3 -3
- package/src/koffi/benchmark/raylib_cc.js +3 -3
- package/src/koffi/benchmark/raylib_koffi.js +3 -3
- package/src/koffi/benchmark/raylib_node_ffi.js +3 -3
- package/src/koffi/benchmark/raylib_node_raylib.js +3 -3
- package/src/koffi/build/2.2.5/koffi_darwin_arm64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_darwin_x64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_freebsd_arm64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_freebsd_ia32.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_freebsd_x64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_linux_arm32hf.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_linux_arm64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_linux_ia32.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_linux_riscv64hf64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_linux_x64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_openbsd_ia32.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_openbsd_x64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_win32_arm64.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_win32_ia32.tar.gz +0 -0
- package/src/koffi/build/2.2.5/koffi_win32_x64.tar.gz +0 -0
- package/src/koffi/src/abi_arm32.cc +3 -3
- package/src/koffi/src/abi_arm32_fwd.S +3 -3
- package/src/koffi/src/abi_arm64.cc +3 -3
- package/src/koffi/src/abi_arm64_fwd.S +3 -3
- package/src/koffi/src/abi_arm64_fwd.asm +3 -3
- package/src/koffi/src/abi_riscv64.cc +3 -3
- package/src/koffi/src/abi_riscv64_fwd.S +3 -3
- package/src/koffi/src/abi_trampolines.inc +3 -3
- package/src/koffi/src/abi_x64_sysv.cc +3 -3
- package/src/koffi/src/abi_x64_sysv_fwd.S +3 -3
- package/src/koffi/src/abi_x64_win.cc +3 -3
- package/src/koffi/src/abi_x64_win_fwd.asm +3 -3
- package/src/koffi/src/abi_x86.cc +3 -3
- package/src/koffi/src/abi_x86_fwd.S +3 -3
- package/src/koffi/src/abi_x86_fwd.asm +3 -3
- package/src/koffi/src/call.cc +3 -3
- package/src/koffi/src/call.hh +3 -3
- package/src/koffi/src/ffi.cc +3 -3
- package/src/koffi/src/ffi.hh +3 -3
- package/src/koffi/src/index.js +3 -3
- package/src/koffi/src/parser.cc +3 -3
- package/src/koffi/src/parser.hh +3 -3
- package/src/koffi/src/util.cc +3 -3
- package/src/koffi/src/util.hh +3 -3
- package/src/koffi/src/win32.hh +3 -3
- package/src/koffi/test/CMakeLists.txt +3 -3
- package/src/koffi/test/async.js +3 -3
- package/src/koffi/test/callbacks.js +3 -3
- package/src/koffi/test/misc.c +3 -3
- package/src/koffi/test/raylib.js +3 -3
- package/src/koffi/test/sqlite.js +3 -3
- package/src/koffi/test/sync.js +3 -3
- package/src/koffi/test/win32.c +3 -3
- package/src/koffi/test/win32.js +3 -3
- package/src/koffi/tools/qemu.js +4 -4
- package/src/koffi/tools/write_trampolines.py +3 -3
- package/src/koffi/build/2.2.4/koffi_darwin_arm64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_darwin_x64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_freebsd_arm64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_freebsd_ia32.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_freebsd_x64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_linux_arm32hf.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_linux_arm64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_linux_ia32.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_linux_riscv64hf64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_linux_x64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_openbsd_ia32.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_openbsd_x64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_win32_arm64.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_win32_ia32.tar.gz +0 -0
- package/src/koffi/build/2.2.4/koffi_win32_x64.tar.gz +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# This program is free software: you can redistribute it and/or modify
|
|
2
|
-
# it under the terms of the GNU
|
|
2
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
# the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
# (at your option) any later version.
|
|
5
5
|
#
|
|
6
6
|
# This program is distributed in the hope that it will be useful,
|
|
7
7
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
# GNU
|
|
9
|
+
# GNU Lesser General Public License for more details.
|
|
10
10
|
#
|
|
11
|
-
# You should have received a copy of the GNU
|
|
11
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
# along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" OR
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
#include <stdlib.h>
|
package/src/cnoke/cnoke.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
'use strict';
|
package/src/cnoke/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnoke",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Build native Node addons based on CMake, without extra dependency",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"native",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"author": "Niels Martignène <niels.martignene@protonmail.com>",
|
|
17
17
|
"bin": "cnoke.js",
|
|
18
|
-
"license": "
|
|
18
|
+
"license": "LGPL-3.0",
|
|
19
19
|
"files": [
|
|
20
20
|
"cnoke.js",
|
|
21
21
|
"LICENSE.txt",
|
package/src/core/libcc/libcc.cc
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
13
13
|
|
|
14
14
|
#include "libcc.hh"
|
|
@@ -2396,7 +2396,7 @@ bool RenameFile(const char *src_filename, const char *dest_filename, unsigned in
|
|
|
2396
2396
|
{
|
|
2397
2397
|
int fd = -1;
|
|
2398
2398
|
if (!(flags & (int)RenameFlag::Overwrite)) {
|
|
2399
|
-
fd = open(dest_filename, O_CREAT | O_EXCL, 0644);
|
|
2399
|
+
fd = RG_POSIX_RESTART_EINTR(open(dest_filename, O_CREAT | O_EXCL, 0644), < 0);
|
|
2400
2400
|
if (fd < 0) {
|
|
2401
2401
|
if (errno == EEXIST) {
|
|
2402
2402
|
LogError("File '%1' already exists", dest_filename);
|
package/src/core/libcc/libcc.hh
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
13
13
|
|
|
14
14
|
#pragma once
|
package/src/koffi/CMakeLists.txt
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# This program is free software: you can redistribute it and/or modify
|
|
2
|
-
# it under the terms of the GNU
|
|
2
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
# the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
# (at your option) any later version.
|
|
5
5
|
#
|
|
6
6
|
# This program is distributed in the hope that it will be useful,
|
|
7
7
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
# GNU
|
|
9
|
+
# GNU Lesser General Public License for more details.
|
|
10
10
|
#
|
|
11
|
-
# You should have received a copy of the GNU
|
|
11
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
# along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
cmake_minimum_required(VERSION 3.6)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# This program is free software: you can redistribute it and/or modify
|
|
2
|
-
# it under the terms of the GNU
|
|
2
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
# the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
# (at your option) any later version.
|
|
5
5
|
#
|
|
6
6
|
# This program is distributed in the hope that it will be useful,
|
|
7
7
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
# GNU
|
|
9
|
+
# GNU Lesser General Public License for more details.
|
|
10
10
|
#
|
|
11
|
-
# You should have received a copy of the GNU
|
|
11
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
# along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
cmake_minimum_required(VERSION 3.12)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const koffi = require('./build/koffi.node');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
#include "src/core/libcc/libcc.hh"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const atoi = require('./build/atoi_napi.node');
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const ref = require('ref-napi');
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const { spawnSync } = require('child_process');
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const koffi = require('./build/koffi.node');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
#include "src/core/libcc/libcc.hh"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const rand = require('./build/rand_napi.node');
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const ref = require('ref-napi');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
#include "src/core/libcc/libcc.hh"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const { spawnSync } = require('child_process');
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const koffi = require('./build/koffi.node');
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const ref = require('ref-napi');
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
|
4
|
-
// it under the terms of the GNU
|
|
4
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
5
5
|
// the Free Software Foundation, either version 3 of the License, or
|
|
6
6
|
// (at your option) any later version.
|
|
7
7
|
//
|
|
8
8
|
// This program is distributed in the hope that it will be useful,
|
|
9
9
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
10
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
// GNU
|
|
11
|
+
// GNU Lesser General Public License for more details.
|
|
12
12
|
//
|
|
13
|
-
// You should have received a copy of the GNU
|
|
13
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
14
14
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
15
15
|
|
|
16
16
|
const r = require('raylib');
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
#if defined(__arm__) || (defined(__M_ARM) && !defined(_M_ARM64))
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# This program is free software: you can redistribute it and/or modify
|
|
2
|
-
# it under the terms of the GNU
|
|
2
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
# the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
# (at your option) any later version.
|
|
5
5
|
#
|
|
6
6
|
# This program is distributed in the hope that it will be useful,
|
|
7
7
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
# GNU
|
|
9
|
+
# GNU Lesser General Public License for more details.
|
|
10
10
|
#
|
|
11
|
-
# You should have received a copy of the GNU
|
|
11
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
# along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
.syntax unified
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
#if defined(__aarch64__) || defined(_M_ARM64)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# This program is free software: you can redistribute it and/or modify
|
|
2
|
-
# it under the terms of the GNU
|
|
2
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
# the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
# (at your option) any later version.
|
|
5
5
|
#
|
|
6
6
|
# This program is distributed in the hope that it will be useful,
|
|
7
7
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
# GNU
|
|
9
|
+
# GNU Lesser General Public License for more details.
|
|
10
10
|
#
|
|
11
|
-
# You should have received a copy of the GNU
|
|
11
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
# along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
#ifdef __APPLE__
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
; This program is free software: you can redistribute it and/or modify
|
|
2
|
-
; it under the terms of the GNU
|
|
2
|
+
; it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
; the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
; (at your option) any later version.
|
|
5
5
|
;
|
|
6
6
|
; This program is distributed in the hope that it will be useful,
|
|
7
7
|
; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
; GNU
|
|
9
|
+
; GNU Lesser General Public License for more details.
|
|
10
10
|
;
|
|
11
|
-
; You should have received a copy of the GNU
|
|
11
|
+
; You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
; along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
AREA |.text|, CODE
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This program is free software: you can redistribute it and/or modify
|
|
2
|
-
// it under the terms of the GNU
|
|
2
|
+
// it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
// the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
// (at your option) any later version.
|
|
5
5
|
//
|
|
6
6
|
// This program is distributed in the hope that it will be useful,
|
|
7
7
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
// GNU
|
|
9
|
+
// GNU Lesser General Public License for more details.
|
|
10
10
|
//
|
|
11
|
-
// You should have received a copy of the GNU
|
|
11
|
+
// You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
// along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
#if __riscv_xlen == 64
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# This program is free software: you can redistribute it and/or modify
|
|
2
|
-
# it under the terms of the GNU
|
|
2
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
|
3
3
|
# the Free Software Foundation, either version 3 of the License, or
|
|
4
4
|
# (at your option) any later version.
|
|
5
5
|
#
|
|
6
6
|
# This program is distributed in the hope that it will be useful,
|
|
7
7
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
8
8
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9
|
-
# GNU
|
|
9
|
+
# GNU Lesser General Public License for more details.
|
|
10
10
|
#
|
|
11
|
-
# You should have received a copy of the GNU
|
|
11
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
12
12
|
# along with this program. If not, see https://www.gnu.org/licenses/.
|
|
13
13
|
|
|
14
14
|
# Forward
|