-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scenic loop #54
Scenic loop #54
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Left a comment about pushing along more of the pstdint-type stuff.
c_src/scenic/script.c
Outdated
static inline unsigned short get_uint16(void* p, uint32_t offset) | ||
{ | ||
return ntoh_ui16(*((unsigned short*)(p + offset))); | ||
} | ||
|
||
static inline unsigned int get_uint32( void* p, uint32_t offset ) { | ||
static inline unsigned int get_uint32(void* p, uint32_t offset) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the return signature, do we want these to be uint32_t
instead of unsigned int
,etc.?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated this in #53
This PR is on top of #53
This fixes cairo-gtk on macos, where gtk_main() must be run on the Main Thread