Mercurial > pub > dyncall > bindings
annotate R/scratch/test.json @ 29:6cc2b7fc7ea2
bigger pydc update:
- cleanups and refactoring
- python 2 fixes in var conversions (especially w/ respect to int vs long)
- fix to pydc.free() which didn't work at all
- fix to return python bool as actual bool
- test lib covering all conversions (manual verification, though :-/)
author | Tassilo Philipp |
---|---|
date | Wed, 08 Apr 2020 22:17:43 +0200 |
parents | 0cfcc391201f |
children |
rev | line source |
---|---|
0 | 1 |
2 { | |
3 "name": "gl", | |
4 "meta": { | |
5 } | |
6 "bind": { | |
7 "libs": { | |
8 "windows": "OpenGL", | |
9 | |
10 }, | |
11 | |
12 # or | |
13 | |
14 #"libs": "GL", | |
15 | |
16 "functions": { | |
17 "hallo": "iii)v", | |
18 "SDL_SetVideoMode": { "x": "int", "y": "int", "z": "int" } | |
19 } | |
20 "structures": { | |
21 "SDL_Surface": { | |
22 "x": "i", | |
23 "y": "i", | |
24 } | |
25 "SDL_Surface{ii<sub>i}x y z;" | |
26 }, | |
27 "unions": { | |
28 "SDL_Event": { | |
29 "x": "i", | |
30 "y": "i" | |
31 } | |
32 }, | |
33 "enums": { | |
34 }, | |
35 "defines": { | |
36 " | |
37 } | |
38 } | |
39 } |