Mercurial > pub > dyncall > bindings
annotate R/scratch/test.json @ 56:16151547265e
made callback example python 2 compatible, and added some randomness to numbers to sort
author | Tassilo Philipp |
---|---|
date | Tue, 02 Feb 2021 21:07:41 +0100 |
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 } |