You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it's as @jhass says, names don't matter for proper C bindings to work. And because C structs look like regular Crystal objects, accessing their fields look like method calls:
str =SomeLib::Struct.new
str.field =1
str.field
Method names in Crystal can only begin with lowercase, so that's why there's that restriction.
expecting identifier 'end', not 'Filename'
Filename, Contents : Void*
The text was updated successfully, but these errors were encountered: