Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 18, 2018 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/dc53310c0a50104d3ea028599341b6c2 to your computer and use it in GitHub Desktop.
Save Whateverable/dc53310c0a50104d3ea028599341b6c2 to your computer and use it in GitHub Desktop.
nativecallable6
#Generated by App::GPTrixie
/tmp/gptnc.h:4:33: warning: expected ';' at end of declaration list
struct s {char b; float c; int d};
^
;
1 warning generated.
## Enumerations
## Structures
# == /tmp/gptnc.h ==
class s is repr('CStruct') is export {
has int8 $.b; # char b
has num32 $.c; # float c
has int32 $.d; # int d
}
## Extras stuff
## Functions
## Externs
struct s {char b; float c; int d};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment