mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
language: Support boxed types and GType
- Add support for type checking boxed types - Remove support for converting string and number literals - Add the `typeof()` operator for GType literals
This commit is contained in:
parent
ee2b9b2950
commit
c0c40b1577
12 changed files with 140 additions and 26 deletions
|
@ -26,6 +26,8 @@ import mmap, os
|
|||
from .errors import CompilerBugError
|
||||
|
||||
|
||||
BLOB_TYPE_STRUCT = 3
|
||||
BLOB_TYPE_BOXED = 4
|
||||
BLOB_TYPE_ENUM = 5
|
||||
BLOB_TYPE_FLAGS = 6
|
||||
BLOB_TYPE_OBJECT = 7
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue