koffi 1.3.8 → 1.3.11
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 +24 -0
- package/build/qemu/1.3.11/koffi_darwin_arm64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_darwin_x64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_freebsd_arm64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_freebsd_ia32.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_freebsd_x64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_linux_arm32hf.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_linux_arm64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_linux_ia32.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_linux_riscv64hf64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_linux_x64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_openbsd_ia32.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_openbsd_x64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_win32_arm64.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_win32_ia32.tar.gz +0 -0
- package/build/qemu/1.3.11/koffi_win32_x64.tar.gz +0 -0
- package/doc/benchmarks.md +2 -2
- package/doc/conf.py +1 -1
- package/doc/contribute.md +1 -1
- package/doc/dist/doctrees/benchmarks.doctree +0 -0
- package/doc/dist/doctrees/changes.doctree +0 -0
- package/doc/dist/doctrees/contribute.doctree +0 -0
- package/doc/dist/doctrees/environment.pickle +0 -0
- package/doc/dist/doctrees/functions.doctree +0 -0
- package/doc/dist/doctrees/index.doctree +0 -0
- package/doc/dist/doctrees/memory.doctree +0 -0
- package/doc/dist/doctrees/platforms.doctree +0 -0
- package/doc/dist/doctrees/start.doctree +0 -0
- package/doc/dist/doctrees/types.doctree +0 -0
- package/doc/dist/html/.buildinfo +1 -1
- package/doc/dist/html/_sources/benchmarks.md.txt +2 -2
- package/doc/dist/html/_sources/contribute.md.txt +1 -2
- package/doc/dist/html/_sources/functions.md.txt +137 -15
- package/doc/dist/html/_sources/index.rst.txt +2 -0
- package/doc/dist/html/_sources/memory.md.txt +1 -1
- package/doc/dist/html/_sources/types.md.txt +27 -11
- package/doc/dist/html/_static/basic.css +14 -12
- package/doc/dist/html/_static/pygments.css +54 -54
- package/doc/dist/html/benchmarks.html +3 -3
- package/doc/dist/html/changes.html +9 -1
- package/doc/dist/html/contribute.html +2 -3
- package/doc/dist/html/functions.html +206 -86
- package/doc/dist/html/genindex.html +1 -1
- package/doc/dist/html/index.html +7 -7
- package/doc/dist/html/memory.html +4 -4
- package/doc/dist/html/objects.inv +0 -0
- package/doc/dist/html/platforms.html +2 -2
- package/doc/dist/html/search.html +1 -1
- package/doc/dist/html/searchindex.js +1 -1
- package/doc/dist/html/start.html +55 -55
- package/doc/dist/html/types.html +172 -159
- package/doc/functions.md +9 -7
- package/doc/index.rst +2 -0
- package/doc/memory.md +1 -1
- package/doc/poetry.lock +692 -0
- package/doc/pyproject.toml +18 -0
- package/doc/{_static → static}/bench_linux.png +0 -0
- package/doc/{_static → static}/bench_windows.png +0 -0
- package/doc/{_static → static}/custom.css +0 -0
- package/doc/{_static → static}/perf_linux_20220623.png +0 -0
- package/doc/{_static → static}/perf_linux_20220623_2.png +0 -0
- package/doc/{_static → static}/perf_linux_20220627.png +0 -0
- package/doc/{_static → static}/perf_linux_20220628.png +0 -0
- package/doc/{_static → static}/perf_windows_20220623.png +0 -0
- package/doc/{_static → static}/perf_windows_20220623_2.png +0 -0
- package/doc/{_static → static}/perf_windows_20220627.png +0 -0
- package/doc/{_static → static}/perf_windows_20220628.png +0 -0
- package/doc/types.md +1 -1
- package/package.json +1 -1
- package/qemu/qemu.js +3 -3
- package/qemu/registry/machines.json +1 -1
- package/src/abi_arm32.cc +3 -3
- package/src/abi_riscv64.cc +1 -1
- package/src/abi_x64_sysv.cc +1 -1
- package/src/abi_x64_win.cc +1 -1
- package/src/abi_x64_win_fwd.asm +2 -2
- package/src/abi_x86.cc +5 -5
- package/src/parser.cc +2 -1
- package/test/misc.c +1 -1
- package/test/sync.js +2 -2
- package/build/qemu/1.3.8/koffi_darwin_arm64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_darwin_x64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_freebsd_arm64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_freebsd_ia32.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_freebsd_x64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_linux_arm32hf.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_linux_arm64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_linux_ia32.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_linux_riscv64hf64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_linux_x64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_openbsd_ia32.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_openbsd_x64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_win32_arm64.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_win32_ia32.tar.gz +0 -0
- package/build/qemu/1.3.8/koffi_win32_x64.tar.gz +0 -0
|
@@ -88,21 +88,21 @@ body[data-theme="dark"] .highlight td.linenos .special { color: #000000; backgro
|
|
|
88
88
|
body[data-theme="dark"] .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
|
89
89
|
body[data-theme="dark"] .highlight .hll { background-color: #404040 }
|
|
90
90
|
body[data-theme="dark"] .highlight { background: #202020; color: #d0d0d0 }
|
|
91
|
-
body[data-theme="dark"] .highlight .c { color: #
|
|
91
|
+
body[data-theme="dark"] .highlight .c { color: #999999; font-style: italic } /* Comment */
|
|
92
92
|
body[data-theme="dark"] .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
|
93
93
|
body[data-theme="dark"] .highlight .esc { color: #d0d0d0 } /* Escape */
|
|
94
94
|
body[data-theme="dark"] .highlight .g { color: #d0d0d0 } /* Generic */
|
|
95
|
-
body[data-theme="dark"] .highlight .k { color: #
|
|
95
|
+
body[data-theme="dark"] .highlight .k { color: #6ab825; font-weight: bold } /* Keyword */
|
|
96
96
|
body[data-theme="dark"] .highlight .l { color: #d0d0d0 } /* Literal */
|
|
97
97
|
body[data-theme="dark"] .highlight .n { color: #d0d0d0 } /* Name */
|
|
98
98
|
body[data-theme="dark"] .highlight .o { color: #d0d0d0 } /* Operator */
|
|
99
99
|
body[data-theme="dark"] .highlight .x { color: #d0d0d0 } /* Other */
|
|
100
100
|
body[data-theme="dark"] .highlight .p { color: #d0d0d0 } /* Punctuation */
|
|
101
|
-
body[data-theme="dark"] .highlight .ch { color: #
|
|
102
|
-
body[data-theme="dark"] .highlight .cm { color: #
|
|
101
|
+
body[data-theme="dark"] .highlight .ch { color: #999999; font-style: italic } /* Comment.Hashbang */
|
|
102
|
+
body[data-theme="dark"] .highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
|
|
103
103
|
body[data-theme="dark"] .highlight .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
|
|
104
|
-
body[data-theme="dark"] .highlight .cpf { color: #
|
|
105
|
-
body[data-theme="dark"] .highlight .c1 { color: #
|
|
104
|
+
body[data-theme="dark"] .highlight .cpf { color: #999999; font-style: italic } /* Comment.PreprocFile */
|
|
105
|
+
body[data-theme="dark"] .highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
|
|
106
106
|
body[data-theme="dark"] .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
|
|
107
107
|
body[data-theme="dark"] .highlight .gd { color: #d22323 } /* Generic.Deleted */
|
|
108
108
|
body[data-theme="dark"] .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
|
|
@@ -114,36 +114,36 @@ body[data-theme="dark"] .highlight .gp { color: #aaaaaa } /* Generic.Prompt */
|
|
|
114
114
|
body[data-theme="dark"] .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
|
|
115
115
|
body[data-theme="dark"] .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
|
|
116
116
|
body[data-theme="dark"] .highlight .gt { color: #d22323 } /* Generic.Traceback */
|
|
117
|
-
body[data-theme="dark"] .highlight .kc { color: #
|
|
118
|
-
body[data-theme="dark"] .highlight .kd { color: #
|
|
119
|
-
body[data-theme="dark"] .highlight .kn { color: #
|
|
120
|
-
body[data-theme="dark"] .highlight .kp { color: #
|
|
121
|
-
body[data-theme="dark"] .highlight .kr { color: #
|
|
122
|
-
body[data-theme="dark"] .highlight .kt { color: #
|
|
117
|
+
body[data-theme="dark"] .highlight .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
|
|
118
|
+
body[data-theme="dark"] .highlight .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
|
|
119
|
+
body[data-theme="dark"] .highlight .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
|
|
120
|
+
body[data-theme="dark"] .highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
|
|
121
|
+
body[data-theme="dark"] .highlight .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
|
|
122
|
+
body[data-theme="dark"] .highlight .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
|
|
123
123
|
body[data-theme="dark"] .highlight .ld { color: #d0d0d0 } /* Literal.Date */
|
|
124
|
-
body[data-theme="dark"] .highlight .m { color: #
|
|
124
|
+
body[data-theme="dark"] .highlight .m { color: #3677a9 } /* Literal.Number */
|
|
125
125
|
body[data-theme="dark"] .highlight .s { color: #ed9d13 } /* Literal.String */
|
|
126
126
|
body[data-theme="dark"] .highlight .na { color: #bbbbbb } /* Name.Attribute */
|
|
127
|
-
body[data-theme="dark"] .highlight .nb { color: #
|
|
128
|
-
body[data-theme="dark"] .highlight .nc { color: #
|
|
127
|
+
body[data-theme="dark"] .highlight .nb { color: #24909d } /* Name.Builtin */
|
|
128
|
+
body[data-theme="dark"] .highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
|
|
129
129
|
body[data-theme="dark"] .highlight .no { color: #40ffff } /* Name.Constant */
|
|
130
130
|
body[data-theme="dark"] .highlight .nd { color: #ffa500 } /* Name.Decorator */
|
|
131
131
|
body[data-theme="dark"] .highlight .ni { color: #d0d0d0 } /* Name.Entity */
|
|
132
132
|
body[data-theme="dark"] .highlight .ne { color: #bbbbbb } /* Name.Exception */
|
|
133
|
-
body[data-theme="dark"] .highlight .nf { color: #
|
|
133
|
+
body[data-theme="dark"] .highlight .nf { color: #447fcf } /* Name.Function */
|
|
134
134
|
body[data-theme="dark"] .highlight .nl { color: #d0d0d0 } /* Name.Label */
|
|
135
|
-
body[data-theme="dark"] .highlight .nn { color: #
|
|
135
|
+
body[data-theme="dark"] .highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
|
|
136
136
|
body[data-theme="dark"] .highlight .nx { color: #d0d0d0 } /* Name.Other */
|
|
137
137
|
body[data-theme="dark"] .highlight .py { color: #d0d0d0 } /* Name.Property */
|
|
138
|
-
body[data-theme="dark"] .highlight .nt { color: #
|
|
138
|
+
body[data-theme="dark"] .highlight .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
|
|
139
139
|
body[data-theme="dark"] .highlight .nv { color: #40ffff } /* Name.Variable */
|
|
140
|
-
body[data-theme="dark"] .highlight .ow { color: #
|
|
140
|
+
body[data-theme="dark"] .highlight .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
|
|
141
141
|
body[data-theme="dark"] .highlight .w { color: #666666 } /* Text.Whitespace */
|
|
142
|
-
body[data-theme="dark"] .highlight .mb { color: #
|
|
143
|
-
body[data-theme="dark"] .highlight .mf { color: #
|
|
144
|
-
body[data-theme="dark"] .highlight .mh { color: #
|
|
145
|
-
body[data-theme="dark"] .highlight .mi { color: #
|
|
146
|
-
body[data-theme="dark"] .highlight .mo { color: #
|
|
142
|
+
body[data-theme="dark"] .highlight .mb { color: #3677a9 } /* Literal.Number.Bin */
|
|
143
|
+
body[data-theme="dark"] .highlight .mf { color: #3677a9 } /* Literal.Number.Float */
|
|
144
|
+
body[data-theme="dark"] .highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
|
|
145
|
+
body[data-theme="dark"] .highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
|
|
146
|
+
body[data-theme="dark"] .highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
|
|
147
147
|
body[data-theme="dark"] .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */
|
|
148
148
|
body[data-theme="dark"] .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */
|
|
149
149
|
body[data-theme="dark"] .highlight .sc { color: #ed9d13 } /* Literal.String.Char */
|
|
@@ -157,13 +157,13 @@ body[data-theme="dark"] .highlight .sx { color: #ffa500 } /* Literal.String.Othe
|
|
|
157
157
|
body[data-theme="dark"] .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */
|
|
158
158
|
body[data-theme="dark"] .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */
|
|
159
159
|
body[data-theme="dark"] .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */
|
|
160
|
-
body[data-theme="dark"] .highlight .bp { color: #
|
|
161
|
-
body[data-theme="dark"] .highlight .fm { color: #
|
|
160
|
+
body[data-theme="dark"] .highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
|
|
161
|
+
body[data-theme="dark"] .highlight .fm { color: #447fcf } /* Name.Function.Magic */
|
|
162
162
|
body[data-theme="dark"] .highlight .vc { color: #40ffff } /* Name.Variable.Class */
|
|
163
163
|
body[data-theme="dark"] .highlight .vg { color: #40ffff } /* Name.Variable.Global */
|
|
164
164
|
body[data-theme="dark"] .highlight .vi { color: #40ffff } /* Name.Variable.Instance */
|
|
165
165
|
body[data-theme="dark"] .highlight .vm { color: #40ffff } /* Name.Variable.Magic */
|
|
166
|
-
body[data-theme="dark"] .highlight .il { color: #
|
|
166
|
+
body[data-theme="dark"] .highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
|
|
167
167
|
@media (prefers-color-scheme: dark) {
|
|
168
168
|
body:not([data-theme="light"]) .highlight pre { line-height: 125%; }
|
|
169
169
|
body:not([data-theme="light"]) .highlight td.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
@@ -172,21 +172,21 @@ body:not([data-theme="light"]) .highlight td.linenos .special { color: #000000;
|
|
|
172
172
|
body:not([data-theme="light"]) .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
|
173
173
|
body:not([data-theme="light"]) .highlight .hll { background-color: #404040 }
|
|
174
174
|
body:not([data-theme="light"]) .highlight { background: #202020; color: #d0d0d0 }
|
|
175
|
-
body:not([data-theme="light"]) .highlight .c { color: #
|
|
175
|
+
body:not([data-theme="light"]) .highlight .c { color: #999999; font-style: italic } /* Comment */
|
|
176
176
|
body:not([data-theme="light"]) .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
|
177
177
|
body:not([data-theme="light"]) .highlight .esc { color: #d0d0d0 } /* Escape */
|
|
178
178
|
body:not([data-theme="light"]) .highlight .g { color: #d0d0d0 } /* Generic */
|
|
179
|
-
body:not([data-theme="light"]) .highlight .k { color: #
|
|
179
|
+
body:not([data-theme="light"]) .highlight .k { color: #6ab825; font-weight: bold } /* Keyword */
|
|
180
180
|
body:not([data-theme="light"]) .highlight .l { color: #d0d0d0 } /* Literal */
|
|
181
181
|
body:not([data-theme="light"]) .highlight .n { color: #d0d0d0 } /* Name */
|
|
182
182
|
body:not([data-theme="light"]) .highlight .o { color: #d0d0d0 } /* Operator */
|
|
183
183
|
body:not([data-theme="light"]) .highlight .x { color: #d0d0d0 } /* Other */
|
|
184
184
|
body:not([data-theme="light"]) .highlight .p { color: #d0d0d0 } /* Punctuation */
|
|
185
|
-
body:not([data-theme="light"]) .highlight .ch { color: #
|
|
186
|
-
body:not([data-theme="light"]) .highlight .cm { color: #
|
|
185
|
+
body:not([data-theme="light"]) .highlight .ch { color: #999999; font-style: italic } /* Comment.Hashbang */
|
|
186
|
+
body:not([data-theme="light"]) .highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
|
|
187
187
|
body:not([data-theme="light"]) .highlight .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
|
|
188
|
-
body:not([data-theme="light"]) .highlight .cpf { color: #
|
|
189
|
-
body:not([data-theme="light"]) .highlight .c1 { color: #
|
|
188
|
+
body:not([data-theme="light"]) .highlight .cpf { color: #999999; font-style: italic } /* Comment.PreprocFile */
|
|
189
|
+
body:not([data-theme="light"]) .highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
|
|
190
190
|
body:not([data-theme="light"]) .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
|
|
191
191
|
body:not([data-theme="light"]) .highlight .gd { color: #d22323 } /* Generic.Deleted */
|
|
192
192
|
body:not([data-theme="light"]) .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
|
|
@@ -198,36 +198,36 @@ body:not([data-theme="light"]) .highlight .gp { color: #aaaaaa } /* Generic.Prom
|
|
|
198
198
|
body:not([data-theme="light"]) .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
|
|
199
199
|
body:not([data-theme="light"]) .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
|
|
200
200
|
body:not([data-theme="light"]) .highlight .gt { color: #d22323 } /* Generic.Traceback */
|
|
201
|
-
body:not([data-theme="light"]) .highlight .kc { color: #
|
|
202
|
-
body:not([data-theme="light"]) .highlight .kd { color: #
|
|
203
|
-
body:not([data-theme="light"]) .highlight .kn { color: #
|
|
204
|
-
body:not([data-theme="light"]) .highlight .kp { color: #
|
|
205
|
-
body:not([data-theme="light"]) .highlight .kr { color: #
|
|
206
|
-
body:not([data-theme="light"]) .highlight .kt { color: #
|
|
201
|
+
body:not([data-theme="light"]) .highlight .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
|
|
202
|
+
body:not([data-theme="light"]) .highlight .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
|
|
203
|
+
body:not([data-theme="light"]) .highlight .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
|
|
204
|
+
body:not([data-theme="light"]) .highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
|
|
205
|
+
body:not([data-theme="light"]) .highlight .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
|
|
206
|
+
body:not([data-theme="light"]) .highlight .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
|
|
207
207
|
body:not([data-theme="light"]) .highlight .ld { color: #d0d0d0 } /* Literal.Date */
|
|
208
|
-
body:not([data-theme="light"]) .highlight .m { color: #
|
|
208
|
+
body:not([data-theme="light"]) .highlight .m { color: #3677a9 } /* Literal.Number */
|
|
209
209
|
body:not([data-theme="light"]) .highlight .s { color: #ed9d13 } /* Literal.String */
|
|
210
210
|
body:not([data-theme="light"]) .highlight .na { color: #bbbbbb } /* Name.Attribute */
|
|
211
|
-
body:not([data-theme="light"]) .highlight .nb { color: #
|
|
212
|
-
body:not([data-theme="light"]) .highlight .nc { color: #
|
|
211
|
+
body:not([data-theme="light"]) .highlight .nb { color: #24909d } /* Name.Builtin */
|
|
212
|
+
body:not([data-theme="light"]) .highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
|
|
213
213
|
body:not([data-theme="light"]) .highlight .no { color: #40ffff } /* Name.Constant */
|
|
214
214
|
body:not([data-theme="light"]) .highlight .nd { color: #ffa500 } /* Name.Decorator */
|
|
215
215
|
body:not([data-theme="light"]) .highlight .ni { color: #d0d0d0 } /* Name.Entity */
|
|
216
216
|
body:not([data-theme="light"]) .highlight .ne { color: #bbbbbb } /* Name.Exception */
|
|
217
|
-
body:not([data-theme="light"]) .highlight .nf { color: #
|
|
217
|
+
body:not([data-theme="light"]) .highlight .nf { color: #447fcf } /* Name.Function */
|
|
218
218
|
body:not([data-theme="light"]) .highlight .nl { color: #d0d0d0 } /* Name.Label */
|
|
219
|
-
body:not([data-theme="light"]) .highlight .nn { color: #
|
|
219
|
+
body:not([data-theme="light"]) .highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
|
|
220
220
|
body:not([data-theme="light"]) .highlight .nx { color: #d0d0d0 } /* Name.Other */
|
|
221
221
|
body:not([data-theme="light"]) .highlight .py { color: #d0d0d0 } /* Name.Property */
|
|
222
|
-
body:not([data-theme="light"]) .highlight .nt { color: #
|
|
222
|
+
body:not([data-theme="light"]) .highlight .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
|
|
223
223
|
body:not([data-theme="light"]) .highlight .nv { color: #40ffff } /* Name.Variable */
|
|
224
|
-
body:not([data-theme="light"]) .highlight .ow { color: #
|
|
224
|
+
body:not([data-theme="light"]) .highlight .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
|
|
225
225
|
body:not([data-theme="light"]) .highlight .w { color: #666666 } /* Text.Whitespace */
|
|
226
|
-
body:not([data-theme="light"]) .highlight .mb { color: #
|
|
227
|
-
body:not([data-theme="light"]) .highlight .mf { color: #
|
|
228
|
-
body:not([data-theme="light"]) .highlight .mh { color: #
|
|
229
|
-
body:not([data-theme="light"]) .highlight .mi { color: #
|
|
230
|
-
body:not([data-theme="light"]) .highlight .mo { color: #
|
|
226
|
+
body:not([data-theme="light"]) .highlight .mb { color: #3677a9 } /* Literal.Number.Bin */
|
|
227
|
+
body:not([data-theme="light"]) .highlight .mf { color: #3677a9 } /* Literal.Number.Float */
|
|
228
|
+
body:not([data-theme="light"]) .highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
|
|
229
|
+
body:not([data-theme="light"]) .highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
|
|
230
|
+
body:not([data-theme="light"]) .highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
|
|
231
231
|
body:not([data-theme="light"]) .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */
|
|
232
232
|
body:not([data-theme="light"]) .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */
|
|
233
233
|
body:not([data-theme="light"]) .highlight .sc { color: #ed9d13 } /* Literal.String.Char */
|
|
@@ -241,12 +241,12 @@ body:not([data-theme="light"]) .highlight .sx { color: #ffa500 } /* Literal.Stri
|
|
|
241
241
|
body:not([data-theme="light"]) .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */
|
|
242
242
|
body:not([data-theme="light"]) .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */
|
|
243
243
|
body:not([data-theme="light"]) .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */
|
|
244
|
-
body:not([data-theme="light"]) .highlight .bp { color: #
|
|
245
|
-
body:not([data-theme="light"]) .highlight .fm { color: #
|
|
244
|
+
body:not([data-theme="light"]) .highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
|
|
245
|
+
body:not([data-theme="light"]) .highlight .fm { color: #447fcf } /* Name.Function.Magic */
|
|
246
246
|
body:not([data-theme="light"]) .highlight .vc { color: #40ffff } /* Name.Variable.Class */
|
|
247
247
|
body:not([data-theme="light"]) .highlight .vg { color: #40ffff } /* Name.Variable.Global */
|
|
248
248
|
body:not([data-theme="light"]) .highlight .vi { color: #40ffff } /* Name.Variable.Instance */
|
|
249
249
|
body:not([data-theme="light"]) .highlight .vm { color: #40ffff } /* Name.Variable.Magic */
|
|
250
|
-
body:not([data-theme="light"]) .highlight .il { color: #
|
|
250
|
+
body:not([data-theme="light"]) .highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
|
|
251
251
|
}
|
|
252
252
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
|
|
6
6
|
<link rel="index" title="Index" href="genindex" /><link rel="search" title="Search" href="search" /><link rel="next" title="Contributing" href="contribute" /><link rel="prev" title="Memory usage" href="memory" />
|
|
7
7
|
|
|
8
|
-
<meta name="generator" content="sphinx-5.0.
|
|
8
|
+
<meta name="generator" content="sphinx-5.0.1, furo 2022.06.04.1"/>
|
|
9
9
|
<title>Benchmarks - Koffi</title>
|
|
10
10
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
|
11
11
|
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=40978830699223671f4072448e654b5958f38b89" />
|
|
@@ -215,8 +215,8 @@
|
|
|
215
215
|
</ul>
|
|
216
216
|
<table style="margin: 0 auto;">
|
|
217
217
|
<tr>
|
|
218
|
-
<td><a href="
|
|
219
|
-
<td><a href="
|
|
218
|
+
<td><a href="static/perf_linux_20220628.png" target="_blank"><img src="static/perf_linux_20220628.png" alt="Linux x86_64 performance" style="width: 350px;"/></a></td>
|
|
219
|
+
<td><a href="static/perf_windows_20220628.png" target="_blank"><img src="static/perf_windows_20220628.png" alt="Windows x86_64 performance" style="width: 350px;"/></a></td>
|
|
220
220
|
</tr>
|
|
221
221
|
</table>
|
|
222
222
|
<p>These results are detailed and explained below, and compared to node-ffi/node-ffi-napi.</p>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
|
|
6
6
|
<link rel="index" title="Index" href="genindex" /><link rel="search" title="Search" href="search" /><link rel="prev" title="Contributing" href="contribute" />
|
|
7
7
|
|
|
8
|
-
<meta name="generator" content="sphinx-5.0.
|
|
8
|
+
<meta name="generator" content="sphinx-5.0.1, furo 2022.06.04.1"/>
|
|
9
9
|
<title>Changelog - Koffi</title>
|
|
10
10
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
|
11
11
|
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=40978830699223671f4072448e654b5958f38b89" />
|
|
@@ -205,6 +205,13 @@
|
|
|
205
205
|
<article role="main">
|
|
206
206
|
<section id="changelog">
|
|
207
207
|
<h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this heading">#</a></h1>
|
|
208
|
+
<section id="koffi-1-3-9">
|
|
209
|
+
<h2>Koffi 1.3.9<a class="headerlink" href="#koffi-1-3-9" title="Permalink to this heading">#</a></h2>
|
|
210
|
+
<p><strong>Main fixes:</strong></p>
|
|
211
|
+
<ul class="simple">
|
|
212
|
+
<li><p>Fix prebuild compatibility with Electron on Windows x64</p></li>
|
|
213
|
+
</ul>
|
|
214
|
+
</section>
|
|
208
215
|
<section id="koffi-1-3-8">
|
|
209
216
|
<h2>Koffi 1.3.8<a class="headerlink" href="#koffi-1-3-8" title="Permalink to this heading">#</a></h2>
|
|
210
217
|
<p><strong>Main changes:</strong></p>
|
|
@@ -400,6 +407,7 @@
|
|
|
400
407
|
<div class="toc-tree">
|
|
401
408
|
<ul>
|
|
402
409
|
<li><a class="reference internal" href="#">Changelog</a><ul>
|
|
410
|
+
<li><a class="reference internal" href="#koffi-1-3-9">Koffi 1.3.9</a></li>
|
|
403
411
|
<li><a class="reference internal" href="#koffi-1-3-8">Koffi 1.3.8</a></li>
|
|
404
412
|
<li><a class="reference internal" href="#koffi-1-3-7">Koffi 1.3.7</a></li>
|
|
405
413
|
<li><a class="reference internal" href="#koffi-1-3-6">Koffi 1.3.6</a></li>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
|
|
6
6
|
<link rel="index" title="Index" href="genindex" /><link rel="search" title="Search" href="search" /><link rel="next" title="Changelog" href="changes" /><link rel="prev" title="Benchmarks" href="benchmarks" />
|
|
7
7
|
|
|
8
|
-
<meta name="generator" content="sphinx-5.0.
|
|
8
|
+
<meta name="generator" content="sphinx-5.0.1, furo 2022.06.04.1"/>
|
|
9
9
|
<title>Contributing - Koffi</title>
|
|
10
10
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
|
11
11
|
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=40978830699223671f4072448e654b5958f38b89" />
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
<section id="bugs-and-feature-requests">
|
|
209
209
|
<h2>Bugs and feature requests<a class="headerlink" href="#bugs-and-feature-requests" title="Permalink to this heading">#</a></h2>
|
|
210
210
|
<p>Use the official repository (named Luigi, because this is a monorepo containing multiple projects) for bugs, ideas and features requests.</p>
|
|
211
|
-
<p>Go here: <a class="reference external" href="https://github.com/Koromix/luigi/
|
|
211
|
+
<p>Go here: <a class="reference external" href="https://github.com/Koromix/luigi/">https://github.com/Koromix/luigi/</a></p>
|
|
212
212
|
</section>
|
|
213
213
|
<section id="build-from-source">
|
|
214
214
|
<h2>Build from source<a class="headerlink" href="#build-from-source" title="Permalink to this heading">#</a></h2>
|
|
@@ -295,7 +295,6 @@
|
|
|
295
295
|
<h2>Todo list<a class="headerlink" href="#todo-list" title="Permalink to this heading">#</a></h2>
|
|
296
296
|
<p>The following features and improvements are planned, not necessarily in that order:</p>
|
|
297
297
|
<ul class="simple">
|
|
298
|
-
<li><p>Provide better ways to automatically deal with caller/heap-allocated memory (strings, etc.)</p></li>
|
|
299
298
|
<li><p>Optimize passing of structs and arrays (avoid setting named properties one by one? separate HFA-specific helper functions?)</p></li>
|
|
300
299
|
<li><p>Automate Windows/AArch64 (qemu) and macOS/AArch64 (how? … thanks Apple) tests</p></li>
|
|
301
300
|
<li><p>Create a real-world example, using several libraries (Raylib, SQLite, libsodium) to illustrate various C API styles</p></li>
|