Use objstack for AST allocation
[babeltrace.git] / formats / ctf / metadata / ctf-scanner.h
index d5650d0a703e7fb39fb77fbf54079243351895dc..012a4f3b9a6cb5d2a074a9f127c124c463643298 100644 (file)
@@ -36,7 +36,7 @@ struct ctf_scanner {
        struct ctf_ast *ast;
        struct ctf_scanner_scope root_scope;
        struct ctf_scanner_scope *cs;
-       struct bt_list_head allocated_strings;
+       struct objstack *objstack;
 };
 
 struct ctf_scanner *ctf_scanner_alloc(FILE *input);
@@ -49,7 +49,7 @@ struct ctf_ast *ctf_scanner_get_ast(struct ctf_scanner *scanner)
        return scanner->ast;
 }
 
-__attribute__((visibility("hidden")))
+BT_HIDDEN
 int is_type(struct ctf_scanner *scanner, const char *id);
 
 #endif /* _CTF_SCANNER_H */
This page took 0.024417 seconds and 4 git commands to generate.