Branch: Tag:

2019-02-09

2019-02-09 11:46:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make add_{,program_}annotation() PMOD_EXPORT.

This makes it possible to add annotations to programs implemented in C.

841:   void check_program(struct program *p);   int low_is_variant_dispatcher(struct identifier *id);   int is_variant_dispatcher(struct program *prog, int fun); + PMOD_EXPORT void add_annotation(int id, struct svalue *sval);   void compiler_add_annotations(int id, node *annotations); -  + PMOD_EXPORT void add_program_annotation(int id, struct svalue *sval);   void compiler_add_program_annotations(int id, node *annotations);   struct program *end_first_pass(int finish);   PMOD_EXPORT struct program *debug_end_program(void);