-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse time_t, off_t, etc. from GIR XML
Up until now, g-ir-scanner would map these types to lower-level types at scan time by assuming that time_t was an alias for long, off_t was an alias for size_t and so on. This is not always accurate: some ILP32 architectures have 64-bit time_t (for Y2038 compatibility) and 64-bit off_t (for large file support) [1]. In order to resolve this incompatibility, giscanner now treat these as standalone types [2]. Patch 'nameToBasicType' to parse these types that now appear in GIR XML. [1] https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/494 [2] https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/455
- Loading branch information
Showing
1 changed file
with
35 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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