return 0;
}
+void aop_finish()
+{
+ const char *header;
+ header = aop_get_arg_value("header");
+
+ if (header != NULL) {
+ int res;
+ res = aop_write_c_header(header, "_INT_HEADER_", NULL, NULL);
+ if (res != 0)
+ perror(header);
+ }
+}
+
AOP_MAIN_PROTO aop_main()
{
aop_register_pass("struct", plugin_struct);
union * advice (union_func_ptr): -1717986918, 1.100000 -- -1717986918, 1.100000
union: -1717986918, 1.100000
</output>
+ <prototypes>
+ void _advice_enum(signed char *, enum baz, enum baz);
+ void _advice_struct(signed char *, struct foo, struct foo);
+ void _advice_struct_ptr(signed char *, struct foo *, struct foo *);
+ void _advice_union(signed char *, union bar, union bar);
+ void _advice_union_ptr(signed char *, union bar *, union bar *);
+ </prototypes>
</run>
</testcase>