Created
November 20, 2015 14:28
-
-
Save mhinz/e56d0457278cac1645da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| typedef struct { | |
| Object *items; | |
| size_t size; | |
| size_t capacity; | |
| } Array; | |
| typedef struct { | |
| ObjectType type; | |
| union { | |
| Array array; | |
| Boolean boolean; | |
| Buffer buffer; | |
| Dictionary dictionary; | |
| Float floating; | |
| Integer integer; | |
| String string; | |
| Tabpage tabpage; | |
| Window window; | |
| } data; | |
| } Object; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment