Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use v6;
- use lib 'piko/perl6-gumbo/lib', '.';
- use Gumbo::Binding;
- use TestStructSize;
- my @headers = <gumbo.h>;
- my @libs = <-lgumbo>;
- my gumbo_output_s $m = gumbo_output_s.new;
- my gumbo_element_s $e = gumbo_element_s.new;
- say $e.perl;
- say $m.perl;
- #my %typ = ("GumboOutput" => gumbo_ouput_s, "GumboNode" => gumbo_node_s);
- root@testperl6:~# perl6 ttstructsize.p6
- gumbo_element_s.new(children => gumbo_vector_s, tag => 0, tag_namespace => 0, original_tag => gumbo_string_piece_s, original_end_tag => gumbo_string_piece_s, start_pos => gumbo_source_position, end_pos => gumbo_source_position, attributes => gumbo_vector_s)
- gumbo_output_s.new(document => gumbo_node_t, root => gumbo_node_t, errors => gumbo_vector_s)
- root@testperl6:~# perl6 ttstructsize.p6
- ===SORRY!=== Error while compiling ttstructsize.p6
- Undeclared routine:
- gumbo_ouput_s used at line 14
Advertisement
Add Comment
Please, Sign In to add comment