Advertisement
Guest User

Untitled

a guest
Nov 14th, 2015
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. skardev)root@pinkpony:~/p6/perl6-gumbo# perl6 ttstructsize.p6
  2. 32
  3. 32
  4. /tmp/UJdmiu63.c
  5. /tmp/ddytIWVqAx
  6. [128 32]
  7. Size in Perl6 is not the same that the C one for : gumbo_node_s -- C size : 128 ; NC size : 32
  8. Compiling a test file, this assume field name are the same
  9. gumbo_node_s: GumboNode
  10.  
  11. /tmp/ZINuN15G.c
  12. /tmp/mIDzYzoX6e
  13. For type : c-size=4 / nc-size=4
  14. For parent : c-size=8 / nc-size=32
  15. For index_within_parent : c-size=8 / nc-size=4
  16. For parse_flags : c-size=4 / nc-size=4
  17. For v : c-size=96 / nc-size=104
  18. (skardev)root@pinkpony:~/p6/perl6-gumbo#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement