koffi 2.0.0 → 2.1.0-beta.2

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.
Files changed (127) hide show
  1. package/CMakeLists.txt +2 -9
  2. package/ChangeLog.md +25 -2
  3. package/benchmark/atoi_koffi.js +12 -8
  4. package/benchmark/atoi_napi.js +12 -8
  5. package/benchmark/atoi_node_ffi.js +11 -10
  6. package/benchmark/raylib_cc.cc +12 -9
  7. package/benchmark/raylib_koffi.js +15 -13
  8. package/benchmark/raylib_node_ffi.js +15 -13
  9. package/benchmark/raylib_node_raylib.js +14 -11
  10. package/build/qemu/2.1.0-beta.2/koffi_darwin_arm64.tar.gz +0 -0
  11. package/build/qemu/2.1.0-beta.2/koffi_darwin_x64.tar.gz +0 -0
  12. package/build/qemu/2.1.0-beta.2/koffi_freebsd_arm64.tar.gz +0 -0
  13. package/build/qemu/2.1.0-beta.2/koffi_freebsd_ia32.tar.gz +0 -0
  14. package/build/qemu/2.1.0-beta.2/koffi_freebsd_x64.tar.gz +0 -0
  15. package/build/qemu/2.1.0-beta.2/koffi_linux_arm32hf.tar.gz +0 -0
  16. package/build/qemu/2.1.0-beta.2/koffi_linux_arm64.tar.gz +0 -0
  17. package/build/qemu/2.1.0-beta.2/koffi_linux_ia32.tar.gz +0 -0
  18. package/build/qemu/2.1.0-beta.2/koffi_linux_riscv64hf64.tar.gz +0 -0
  19. package/build/qemu/2.1.0-beta.2/koffi_linux_x64.tar.gz +0 -0
  20. package/build/qemu/2.1.0-beta.2/koffi_openbsd_ia32.tar.gz +0 -0
  21. package/build/qemu/2.1.0-beta.2/koffi_openbsd_x64.tar.gz +0 -0
  22. package/build/qemu/2.1.0-beta.2/koffi_win32_arm64.tar.gz +0 -0
  23. package/build/qemu/2.1.0-beta.2/koffi_win32_ia32.tar.gz +0 -0
  24. package/build/qemu/2.1.0-beta.2/koffi_win32_x64.tar.gz +0 -0
  25. package/doc/benchmarks.md +2 -2
  26. package/doc/changes.md +23 -19
  27. package/doc/conf.py +14 -1
  28. package/doc/dist/doctrees/benchmarks.doctree +0 -0
  29. package/doc/dist/doctrees/changes.doctree +0 -0
  30. package/doc/dist/doctrees/environment.pickle +0 -0
  31. package/doc/dist/doctrees/functions.doctree +0 -0
  32. package/doc/dist/doctrees/index.doctree +0 -0
  33. package/doc/dist/doctrees/types.doctree +0 -0
  34. package/doc/functions.md +76 -10
  35. package/doc/templates/badges.html +4 -0
  36. package/doc/types.md +157 -161
  37. package/package.json +2 -2
  38. package/qemu/qemu.js +1 -1
  39. package/src/abi_arm32.cc +167 -3
  40. package/src/abi_arm64.cc +196 -3
  41. package/src/abi_riscv64.cc +107 -3
  42. package/src/abi_x64_sysv.cc +114 -4
  43. package/src/abi_x64_win.cc +113 -3
  44. package/src/abi_x86.cc +156 -5
  45. package/src/call.cc +241 -26
  46. package/src/call.hh +15 -3
  47. package/src/ffi.cc +123 -34
  48. package/src/ffi.hh +19 -0
  49. package/src/index.js +4 -2
  50. package/src/parser.cc +3 -5
  51. package/src/util.cc +44 -1
  52. package/src/util.hh +4 -0
  53. package/test/async.js +1 -2
  54. package/test/callbacks.js +2 -3
  55. package/test/misc.c +21 -1
  56. package/test/raylib.js +1 -1
  57. package/test/sqlite.js +7 -7
  58. package/test/sync.js +30 -4
  59. package/build/qemu/2.0.0/koffi_darwin_arm64.tar.gz +0 -0
  60. package/build/qemu/2.0.0/koffi_darwin_x64.tar.gz +0 -0
  61. package/build/qemu/2.0.0/koffi_freebsd_arm64.tar.gz +0 -0
  62. package/build/qemu/2.0.0/koffi_freebsd_ia32.tar.gz +0 -0
  63. package/build/qemu/2.0.0/koffi_freebsd_x64.tar.gz +0 -0
  64. package/build/qemu/2.0.0/koffi_linux_arm32hf.tar.gz +0 -0
  65. package/build/qemu/2.0.0/koffi_linux_arm64.tar.gz +0 -0
  66. package/build/qemu/2.0.0/koffi_linux_ia32.tar.gz +0 -0
  67. package/build/qemu/2.0.0/koffi_linux_riscv64hf64.tar.gz +0 -0
  68. package/build/qemu/2.0.0/koffi_linux_x64.tar.gz +0 -0
  69. package/build/qemu/2.0.0/koffi_openbsd_ia32.tar.gz +0 -0
  70. package/build/qemu/2.0.0/koffi_openbsd_x64.tar.gz +0 -0
  71. package/build/qemu/2.0.0/koffi_win32_arm64.tar.gz +0 -0
  72. package/build/qemu/2.0.0/koffi_win32_ia32.tar.gz +0 -0
  73. package/build/qemu/2.0.0/koffi_win32_x64.tar.gz +0 -0
  74. package/doc/dist/html/.buildinfo +0 -4
  75. package/doc/dist/html/_sources/benchmarks.md.txt +0 -137
  76. package/doc/dist/html/_sources/changes.md.txt +0 -157
  77. package/doc/dist/html/_sources/contribute.md.txt +0 -127
  78. package/doc/dist/html/_sources/functions.md.txt +0 -355
  79. package/doc/dist/html/_sources/index.rst.txt +0 -39
  80. package/doc/dist/html/_sources/memory.md.txt +0 -32
  81. package/doc/dist/html/_sources/platforms.md.txt +0 -31
  82. package/doc/dist/html/_sources/start.md.txt +0 -100
  83. package/doc/dist/html/_sources/types.md.txt +0 -545
  84. package/doc/dist/html/_static/_sphinx_javascript_frameworks_compat.js +0 -134
  85. package/doc/dist/html/_static/basic.css +0 -932
  86. package/doc/dist/html/_static/bench_linux.png +0 -0
  87. package/doc/dist/html/_static/bench_windows.png +0 -0
  88. package/doc/dist/html/_static/custom.css +0 -22
  89. package/doc/dist/html/_static/debug.css +0 -69
  90. package/doc/dist/html/_static/doctools.js +0 -264
  91. package/doc/dist/html/_static/documentation_options.js +0 -14
  92. package/doc/dist/html/_static/file.png +0 -0
  93. package/doc/dist/html/_static/jquery-3.6.0.js +0 -10881
  94. package/doc/dist/html/_static/jquery.js +0 -2
  95. package/doc/dist/html/_static/language_data.js +0 -199
  96. package/doc/dist/html/_static/minus.png +0 -0
  97. package/doc/dist/html/_static/perf_linux_20220623.png +0 -0
  98. package/doc/dist/html/_static/perf_linux_20220623_2.png +0 -0
  99. package/doc/dist/html/_static/perf_windows_20220623.png +0 -0
  100. package/doc/dist/html/_static/perf_windows_20220623_2.png +0 -0
  101. package/doc/dist/html/_static/plus.png +0 -0
  102. package/doc/dist/html/_static/pygments.css +0 -252
  103. package/doc/dist/html/_static/scripts/furo-extensions.js +0 -0
  104. package/doc/dist/html/_static/scripts/furo.js +0 -3
  105. package/doc/dist/html/_static/scripts/furo.js.LICENSE.txt +0 -7
  106. package/doc/dist/html/_static/scripts/furo.js.map +0 -1
  107. package/doc/dist/html/_static/searchtools.js +0 -531
  108. package/doc/dist/html/_static/skeleton.css +0 -296
  109. package/doc/dist/html/_static/styles/furo-extensions.css +0 -2
  110. package/doc/dist/html/_static/styles/furo-extensions.css.map +0 -1
  111. package/doc/dist/html/_static/styles/furo.css +0 -2
  112. package/doc/dist/html/_static/styles/furo.css.map +0 -1
  113. package/doc/dist/html/_static/underscore-1.13.1.js +0 -2042
  114. package/doc/dist/html/_static/underscore.js +0 -6
  115. package/doc/dist/html/benchmarks.html +0 -568
  116. package/doc/dist/html/changes.html +0 -653
  117. package/doc/dist/html/contribute.html +0 -400
  118. package/doc/dist/html/functions.html +0 -653
  119. package/doc/dist/html/genindex.html +0 -250
  120. package/doc/dist/html/index.html +0 -356
  121. package/doc/dist/html/memory.html +0 -343
  122. package/doc/dist/html/objects.inv +0 -0
  123. package/doc/dist/html/platforms.html +0 -368
  124. package/doc/dist/html/search.html +0 -258
  125. package/doc/dist/html/searchindex.js +0 -1
  126. package/doc/dist/html/start.html +0 -381
  127. package/doc/dist/html/types.html +0 -1044
@@ -1,932 +0,0 @@
1
- /*
2
- * basic.css
3
- * ~~~~~~~~~
4
- *
5
- * Sphinx stylesheet -- basic theme.
6
- *
7
- * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
8
- * :license: BSD, see LICENSE for details.
9
- *
10
- */
11
-
12
- /* -- main layout ----------------------------------------------------------- */
13
-
14
- div.clearer {
15
- clear: both;
16
- }
17
-
18
- div.section::after {
19
- display: block;
20
- content: '';
21
- clear: left;
22
- }
23
-
24
- /* -- relbar ---------------------------------------------------------------- */
25
-
26
- div.related {
27
- width: 100%;
28
- font-size: 90%;
29
- }
30
-
31
- div.related h3 {
32
- display: none;
33
- }
34
-
35
- div.related ul {
36
- margin: 0;
37
- padding: 0 0 0 10px;
38
- list-style: none;
39
- }
40
-
41
- div.related li {
42
- display: inline;
43
- }
44
-
45
- div.related li.right {
46
- float: right;
47
- margin-right: 5px;
48
- }
49
-
50
- /* -- sidebar --------------------------------------------------------------- */
51
-
52
- div.sphinxsidebarwrapper {
53
- padding: 10px 5px 0 10px;
54
- }
55
-
56
- div.sphinxsidebar {
57
- float: left;
58
- width: 230px;
59
- margin-left: -100%;
60
- font-size: 90%;
61
- word-wrap: break-word;
62
- overflow-wrap : break-word;
63
- }
64
-
65
- div.sphinxsidebar ul {
66
- list-style: none;
67
- }
68
-
69
- div.sphinxsidebar ul ul,
70
- div.sphinxsidebar ul.want-points {
71
- margin-left: 20px;
72
- list-style: square;
73
- }
74
-
75
- div.sphinxsidebar ul ul {
76
- margin-top: 0;
77
- margin-bottom: 0;
78
- }
79
-
80
- div.sphinxsidebar form {
81
- margin-top: 10px;
82
- }
83
-
84
- div.sphinxsidebar input {
85
- border: 1px solid #98dbcc;
86
- font-family: sans-serif;
87
- font-size: 1em;
88
- }
89
-
90
- div.sphinxsidebar #searchbox form.search {
91
- overflow: hidden;
92
- }
93
-
94
- div.sphinxsidebar #searchbox input[type="text"] {
95
- float: left;
96
- width: 80%;
97
- padding: 0.25em;
98
- box-sizing: border-box;
99
- }
100
-
101
- div.sphinxsidebar #searchbox input[type="submit"] {
102
- float: left;
103
- width: 20%;
104
- border-left: none;
105
- padding: 0.25em;
106
- box-sizing: border-box;
107
- }
108
-
109
-
110
- img {
111
- border: 0;
112
- max-width: 100%;
113
- }
114
-
115
- /* -- search page ----------------------------------------------------------- */
116
-
117
- ul.search {
118
- margin: 10px 0 0 20px;
119
- padding: 0;
120
- }
121
-
122
- ul.search li {
123
- padding: 5px 0 5px 20px;
124
- background-image: url(file.png);
125
- background-repeat: no-repeat;
126
- background-position: 0 7px;
127
- }
128
-
129
- ul.search li a {
130
- font-weight: bold;
131
- }
132
-
133
- ul.search li p.context {
134
- color: #888;
135
- margin: 2px 0 0 30px;
136
- text-align: left;
137
- }
138
-
139
- ul.keywordmatches li.goodmatch a {
140
- font-weight: bold;
141
- }
142
-
143
- /* -- index page ------------------------------------------------------------ */
144
-
145
- table.contentstable {
146
- width: 90%;
147
- margin-left: auto;
148
- margin-right: auto;
149
- }
150
-
151
- table.contentstable p.biglink {
152
- line-height: 150%;
153
- }
154
-
155
- a.biglink {
156
- font-size: 1.3em;
157
- }
158
-
159
- span.linkdescr {
160
- font-style: italic;
161
- padding-top: 5px;
162
- font-size: 90%;
163
- }
164
-
165
- /* -- general index --------------------------------------------------------- */
166
-
167
- table.indextable {
168
- width: 100%;
169
- }
170
-
171
- table.indextable td {
172
- text-align: left;
173
- vertical-align: top;
174
- }
175
-
176
- table.indextable ul {
177
- margin-top: 0;
178
- margin-bottom: 0;
179
- list-style-type: none;
180
- }
181
-
182
- table.indextable > tbody > tr > td > ul {
183
- padding-left: 0em;
184
- }
185
-
186
- table.indextable tr.pcap {
187
- height: 10px;
188
- }
189
-
190
- table.indextable tr.cap {
191
- margin-top: 10px;
192
- background-color: #f2f2f2;
193
- }
194
-
195
- img.toggler {
196
- margin-right: 3px;
197
- margin-top: 3px;
198
- cursor: pointer;
199
- }
200
-
201
- div.modindex-jumpbox {
202
- border-top: 1px solid #ddd;
203
- border-bottom: 1px solid #ddd;
204
- margin: 1em 0 1em 0;
205
- padding: 0.4em;
206
- }
207
-
208
- div.genindex-jumpbox {
209
- border-top: 1px solid #ddd;
210
- border-bottom: 1px solid #ddd;
211
- margin: 1em 0 1em 0;
212
- padding: 0.4em;
213
- }
214
-
215
- /* -- domain module index --------------------------------------------------- */
216
-
217
- table.modindextable td {
218
- padding: 2px;
219
- border-collapse: collapse;
220
- }
221
-
222
- /* -- general body styles --------------------------------------------------- */
223
-
224
- div.body {
225
- min-width: 360px;
226
- max-width: 800px;
227
- }
228
-
229
- div.body p, div.body dd, div.body li, div.body blockquote {
230
- -moz-hyphens: auto;
231
- -ms-hyphens: auto;
232
- -webkit-hyphens: auto;
233
- hyphens: auto;
234
- }
235
-
236
- a.headerlink {
237
- visibility: hidden;
238
- }
239
-
240
- a.brackets:before,
241
- span.brackets > a:before{
242
- content: "[";
243
- }
244
-
245
- a.brackets:after,
246
- span.brackets > a:after {
247
- content: "]";
248
- }
249
-
250
- h1:hover > a.headerlink,
251
- h2:hover > a.headerlink,
252
- h3:hover > a.headerlink,
253
- h4:hover > a.headerlink,
254
- h5:hover > a.headerlink,
255
- h6:hover > a.headerlink,
256
- dt:hover > a.headerlink,
257
- caption:hover > a.headerlink,
258
- p.caption:hover > a.headerlink,
259
- div.code-block-caption:hover > a.headerlink {
260
- visibility: visible;
261
- }
262
-
263
- div.body p.caption {
264
- text-align: inherit;
265
- }
266
-
267
- div.body td {
268
- text-align: left;
269
- }
270
-
271
- .first {
272
- margin-top: 0 !important;
273
- }
274
-
275
- p.rubric {
276
- margin-top: 30px;
277
- font-weight: bold;
278
- }
279
-
280
- img.align-left, figure.align-left, .figure.align-left, object.align-left {
281
- clear: left;
282
- float: left;
283
- margin-right: 1em;
284
- }
285
-
286
- img.align-right, figure.align-right, .figure.align-right, object.align-right {
287
- clear: right;
288
- float: right;
289
- margin-left: 1em;
290
- }
291
-
292
- img.align-center, figure.align-center, .figure.align-center, object.align-center {
293
- display: block;
294
- margin-left: auto;
295
- margin-right: auto;
296
- }
297
-
298
- img.align-default, figure.align-default, .figure.align-default {
299
- display: block;
300
- margin-left: auto;
301
- margin-right: auto;
302
- }
303
-
304
- .align-left {
305
- text-align: left;
306
- }
307
-
308
- .align-center {
309
- text-align: center;
310
- }
311
-
312
- .align-default {
313
- text-align: center;
314
- }
315
-
316
- .align-right {
317
- text-align: right;
318
- }
319
-
320
- /* -- sidebars -------------------------------------------------------------- */
321
-
322
- div.sidebar,
323
- aside.sidebar {
324
- margin: 0 0 0.5em 1em;
325
- border: 1px solid #ddb;
326
- padding: 7px;
327
- background-color: #ffe;
328
- width: 40%;
329
- float: right;
330
- clear: right;
331
- overflow-x: auto;
332
- }
333
-
334
- p.sidebar-title {
335
- font-weight: bold;
336
- }
337
-
338
- div.admonition, div.topic, aside.topic, blockquote {
339
- clear: left;
340
- }
341
-
342
- /* -- topics ---------------------------------------------------------------- */
343
-
344
- div.topic, aside.topic {
345
- border: 1px solid #ccc;
346
- padding: 7px;
347
- margin: 10px 0 10px 0;
348
- }
349
-
350
- p.topic-title {
351
- font-size: 1.1em;
352
- font-weight: bold;
353
- margin-top: 10px;
354
- }
355
-
356
- /* -- admonitions ----------------------------------------------------------- */
357
-
358
- div.admonition {
359
- margin-top: 10px;
360
- margin-bottom: 10px;
361
- padding: 7px;
362
- }
363
-
364
- div.admonition dt {
365
- font-weight: bold;
366
- }
367
-
368
- p.admonition-title {
369
- margin: 0px 10px 5px 0px;
370
- font-weight: bold;
371
- }
372
-
373
- div.body p.centered {
374
- text-align: center;
375
- margin-top: 25px;
376
- }
377
-
378
- /* -- content of sidebars/topics/admonitions -------------------------------- */
379
-
380
- div.sidebar > :last-child,
381
- aside.sidebar > :last-child,
382
- div.topic > :last-child,
383
- aside.topic > :last-child,
384
- div.admonition > :last-child {
385
- margin-bottom: 0;
386
- }
387
-
388
- div.sidebar::after,
389
- aside.sidebar::after,
390
- div.topic::after,
391
- aside.topic::after,
392
- div.admonition::after,
393
- blockquote::after {
394
- display: block;
395
- content: '';
396
- clear: both;
397
- }
398
-
399
- /* -- tables ---------------------------------------------------------------- */
400
-
401
- table.docutils {
402
- margin-top: 10px;
403
- margin-bottom: 10px;
404
- border: 0;
405
- border-collapse: collapse;
406
- }
407
-
408
- table.align-center {
409
- margin-left: auto;
410
- margin-right: auto;
411
- }
412
-
413
- table.align-default {
414
- margin-left: auto;
415
- margin-right: auto;
416
- }
417
-
418
- table caption span.caption-number {
419
- font-style: italic;
420
- }
421
-
422
- table caption span.caption-text {
423
- }
424
-
425
- table.docutils td, table.docutils th {
426
- padding: 1px 8px 1px 5px;
427
- border-top: 0;
428
- border-left: 0;
429
- border-right: 0;
430
- border-bottom: 1px solid #aaa;
431
- }
432
-
433
- th {
434
- text-align: left;
435
- padding-right: 5px;
436
- }
437
-
438
- table.citation {
439
- border-left: solid 1px gray;
440
- margin-left: 1px;
441
- }
442
-
443
- table.citation td {
444
- border-bottom: none;
445
- }
446
-
447
- th > :first-child,
448
- td > :first-child {
449
- margin-top: 0px;
450
- }
451
-
452
- th > :last-child,
453
- td > :last-child {
454
- margin-bottom: 0px;
455
- }
456
-
457
- /* -- figures --------------------------------------------------------------- */
458
-
459
- div.figure, figure {
460
- margin: 0.5em;
461
- padding: 0.5em;
462
- }
463
-
464
- div.figure p.caption, figcaption {
465
- padding: 0.3em;
466
- }
467
-
468
- div.figure p.caption span.caption-number,
469
- figcaption span.caption-number {
470
- font-style: italic;
471
- }
472
-
473
- div.figure p.caption span.caption-text,
474
- figcaption span.caption-text {
475
- }
476
-
477
- /* -- field list styles ----------------------------------------------------- */
478
-
479
- table.field-list td, table.field-list th {
480
- border: 0 !important;
481
- }
482
-
483
- .field-list ul {
484
- margin: 0;
485
- padding-left: 1em;
486
- }
487
-
488
- .field-list p {
489
- margin: 0;
490
- }
491
-
492
- .field-name {
493
- -moz-hyphens: manual;
494
- -ms-hyphens: manual;
495
- -webkit-hyphens: manual;
496
- hyphens: manual;
497
- }
498
-
499
- /* -- hlist styles ---------------------------------------------------------- */
500
-
501
- table.hlist {
502
- margin: 1em 0;
503
- }
504
-
505
- table.hlist td {
506
- vertical-align: top;
507
- }
508
-
509
- /* -- object description styles --------------------------------------------- */
510
-
511
- .sig {
512
- font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
513
- }
514
-
515
- .sig-name, code.descname {
516
- background-color: transparent;
517
- font-weight: bold;
518
- }
519
-
520
- .sig-name {
521
- font-size: 1.1em;
522
- }
523
-
524
- code.descname {
525
- font-size: 1.2em;
526
- }
527
-
528
- .sig-prename, code.descclassname {
529
- background-color: transparent;
530
- }
531
-
532
- .optional {
533
- font-size: 1.3em;
534
- }
535
-
536
- .sig-paren {
537
- font-size: larger;
538
- }
539
-
540
- .sig-param.n {
541
- font-style: italic;
542
- }
543
-
544
- /* C++ specific styling */
545
-
546
- .sig-inline.c-texpr,
547
- .sig-inline.cpp-texpr {
548
- font-family: unset;
549
- }
550
-
551
- .sig.c .k, .sig.c .kt,
552
- .sig.cpp .k, .sig.cpp .kt {
553
- color: #0033B3;
554
- }
555
-
556
- .sig.c .m,
557
- .sig.cpp .m {
558
- color: #1750EB;
559
- }
560
-
561
- .sig.c .s, .sig.c .sc,
562
- .sig.cpp .s, .sig.cpp .sc {
563
- color: #067D17;
564
- }
565
-
566
-
567
- /* -- other body styles ----------------------------------------------------- */
568
-
569
- ol.arabic {
570
- list-style: decimal;
571
- }
572
-
573
- ol.loweralpha {
574
- list-style: lower-alpha;
575
- }
576
-
577
- ol.upperalpha {
578
- list-style: upper-alpha;
579
- }
580
-
581
- ol.lowerroman {
582
- list-style: lower-roman;
583
- }
584
-
585
- ol.upperroman {
586
- list-style: upper-roman;
587
- }
588
-
589
- :not(li) > ol > li:first-child > :first-child,
590
- :not(li) > ul > li:first-child > :first-child {
591
- margin-top: 0px;
592
- }
593
-
594
- :not(li) > ol > li:last-child > :last-child,
595
- :not(li) > ul > li:last-child > :last-child {
596
- margin-bottom: 0px;
597
- }
598
-
599
- ol.simple ol p,
600
- ol.simple ul p,
601
- ul.simple ol p,
602
- ul.simple ul p {
603
- margin-top: 0;
604
- }
605
-
606
- ol.simple > li:not(:first-child) > p,
607
- ul.simple > li:not(:first-child) > p {
608
- margin-top: 0;
609
- }
610
-
611
- ol.simple p,
612
- ul.simple p {
613
- margin-bottom: 0;
614
- }
615
-
616
- /* Docutils 0.17 and older (footnotes & citations) */
617
- dl.footnote > dt,
618
- dl.citation > dt {
619
- float: left;
620
- margin-right: 0.5em;
621
- }
622
-
623
- dl.footnote > dd,
624
- dl.citation > dd {
625
- margin-bottom: 0em;
626
- }
627
-
628
- dl.footnote > dd:after,
629
- dl.citation > dd:after {
630
- content: "";
631
- clear: both;
632
- }
633
-
634
- /* Docutils 0.18+ (footnotes & citations) */
635
- aside.footnote > span,
636
- div.citation > span {
637
- float: left;
638
- }
639
- aside.footnote > span:last-of-type,
640
- div.citation > span:last-of-type {
641
- padding-right: 0.5em;
642
- }
643
- aside.footnote > p {
644
- margin-left: 2em;
645
- }
646
- div.citation > p {
647
- margin-left: 4em;
648
- }
649
- aside.footnote > p:last-of-type,
650
- div.citation > p:last-of-type {
651
- margin-bottom: 0em;
652
- }
653
- aside.footnote > p:last-of-type:after,
654
- div.citation > p:last-of-type:after {
655
- content: "";
656
- clear: both;
657
- }
658
-
659
- /* Footnotes & citations ends */
660
-
661
- dl.field-list {
662
- display: grid;
663
- grid-template-columns: fit-content(30%) auto;
664
- }
665
-
666
- dl.field-list > dt {
667
- font-weight: bold;
668
- word-break: break-word;
669
- padding-left: 0.5em;
670
- padding-right: 5px;
671
- }
672
-
673
- dl.field-list > dt:after {
674
- content: ":";
675
- }
676
-
677
- dl.field-list > dd {
678
- padding-left: 0.5em;
679
- margin-top: 0em;
680
- margin-left: 0em;
681
- margin-bottom: 0em;
682
- }
683
-
684
- dl {
685
- margin-bottom: 15px;
686
- }
687
-
688
- dd > :first-child {
689
- margin-top: 0px;
690
- }
691
-
692
- dd ul, dd table {
693
- margin-bottom: 10px;
694
- }
695
-
696
- dd {
697
- margin-top: 3px;
698
- margin-bottom: 10px;
699
- margin-left: 30px;
700
- }
701
-
702
- dl > dd:last-child,
703
- dl > dd:last-child > :last-child {
704
- margin-bottom: 0;
705
- }
706
-
707
- dt:target, span.highlighted {
708
- background-color: #fbe54e;
709
- }
710
-
711
- rect.highlighted {
712
- fill: #fbe54e;
713
- }
714
-
715
- dl.glossary dt {
716
- font-weight: bold;
717
- font-size: 1.1em;
718
- }
719
-
720
- .versionmodified {
721
- font-style: italic;
722
- }
723
-
724
- .system-message {
725
- background-color: #fda;
726
- padding: 5px;
727
- border: 3px solid red;
728
- }
729
-
730
- .footnote:target {
731
- background-color: #ffa;
732
- }
733
-
734
- .line-block {
735
- display: block;
736
- margin-top: 1em;
737
- margin-bottom: 1em;
738
- }
739
-
740
- .line-block .line-block {
741
- margin-top: 0;
742
- margin-bottom: 0;
743
- margin-left: 1.5em;
744
- }
745
-
746
- .guilabel, .menuselection {
747
- font-family: sans-serif;
748
- }
749
-
750
- .accelerator {
751
- text-decoration: underline;
752
- }
753
-
754
- .classifier {
755
- font-style: oblique;
756
- }
757
-
758
- .classifier:before {
759
- font-style: normal;
760
- margin: 0 0.5em;
761
- content: ":";
762
- display: inline-block;
763
- }
764
-
765
- abbr, acronym {
766
- border-bottom: dotted 1px;
767
- cursor: help;
768
- }
769
-
770
- /* -- code displays --------------------------------------------------------- */
771
-
772
- pre {
773
- overflow: auto;
774
- overflow-y: hidden; /* fixes display issues on Chrome browsers */
775
- }
776
-
777
- pre, div[class*="highlight-"] {
778
- clear: both;
779
- }
780
-
781
- span.pre {
782
- -moz-hyphens: none;
783
- -ms-hyphens: none;
784
- -webkit-hyphens: none;
785
- hyphens: none;
786
- white-space: nowrap;
787
- }
788
-
789
- div[class*="highlight-"] {
790
- margin: 1em 0;
791
- }
792
-
793
- td.linenos pre {
794
- border: 0;
795
- background-color: transparent;
796
- color: #aaa;
797
- }
798
-
799
- table.highlighttable {
800
- display: block;
801
- }
802
-
803
- table.highlighttable tbody {
804
- display: block;
805
- }
806
-
807
- table.highlighttable tr {
808
- display: flex;
809
- }
810
-
811
- table.highlighttable td {
812
- margin: 0;
813
- padding: 0;
814
- }
815
-
816
- table.highlighttable td.linenos {
817
- padding-right: 0.5em;
818
- }
819
-
820
- table.highlighttable td.code {
821
- flex: 1;
822
- overflow: hidden;
823
- }
824
-
825
- .highlight .hll {
826
- display: block;
827
- }
828
-
829
- div.highlight pre,
830
- table.highlighttable pre {
831
- margin: 0;
832
- }
833
-
834
- div.code-block-caption + div {
835
- margin-top: 0;
836
- }
837
-
838
- div.code-block-caption {
839
- margin-top: 1em;
840
- padding: 2px 5px;
841
- font-size: small;
842
- }
843
-
844
- div.code-block-caption code {
845
- background-color: transparent;
846
- }
847
-
848
- table.highlighttable td.linenos,
849
- span.linenos,
850
- div.highlight span.gp { /* gp: Generic.Prompt */
851
- user-select: none;
852
- -webkit-user-select: text; /* Safari fallback only */
853
- -webkit-user-select: none; /* Chrome/Safari */
854
- -moz-user-select: none; /* Firefox */
855
- -ms-user-select: none; /* IE10+ */
856
- }
857
-
858
- div.code-block-caption span.caption-number {
859
- padding: 0.1em 0.3em;
860
- font-style: italic;
861
- }
862
-
863
- div.code-block-caption span.caption-text {
864
- }
865
-
866
- div.literal-block-wrapper {
867
- margin: 1em 0;
868
- }
869
-
870
- code.xref, a code {
871
- background-color: transparent;
872
- font-weight: bold;
873
- }
874
-
875
- h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
876
- background-color: transparent;
877
- }
878
-
879
- .viewcode-link {
880
- float: right;
881
- }
882
-
883
- .viewcode-back {
884
- float: right;
885
- font-family: sans-serif;
886
- }
887
-
888
- div.viewcode-block:target {
889
- margin: -1px -10px;
890
- padding: 0 10px;
891
- }
892
-
893
- /* -- math display ---------------------------------------------------------- */
894
-
895
- img.math {
896
- vertical-align: middle;
897
- }
898
-
899
- div.body div.math p {
900
- text-align: center;
901
- }
902
-
903
- span.eqno {
904
- float: right;
905
- }
906
-
907
- span.eqno a.headerlink {
908
- position: absolute;
909
- z-index: 1;
910
- }
911
-
912
- div.math:hover a.headerlink {
913
- visibility: visible;
914
- }
915
-
916
- /* -- printout stylesheet --------------------------------------------------- */
917
-
918
- @media print {
919
- div.document,
920
- div.documentwrapper,
921
- div.bodywrapper {
922
- margin: 0 !important;
923
- width: 100%;
924
- }
925
-
926
- div.sphinxsidebar,
927
- div.related,
928
- div.footer,
929
- #top-link {
930
- display: none;
931
- }
932
- }