Skip to content

Commit

Permalink
register add_c_modules annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
brice-morin committed Mar 13, 2020
1 parent 75e94c1 commit 9c06202
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -179,6 +179,13 @@ public class AnnotationRegistry {
final Annotation add_c_libraries_annotation = new Annotation(add_c_libraries_name, add_c_libraries_desc, add_c_libraries_scope);
annotations.put(add_c_libraries_name, add_c_libraries_annotation);

//@add_c_modules
final String add_c_modules_name = "add_c_modules";
final String add_c_modules_desc = "Copy <modules>.c <modules>.h and add them to the generated Makefile";
final EClass add_c_modules_scope[] = {ThingMLPackage.eINSTANCE.getThing()};
final Annotation add_c_modules_annotation = new Annotation(add_c_modules_name, add_c_modules_desc, add_c_modules_scope);
annotations.put(add_c_modules_name, add_c_modules_annotation);

//@fork_linux_thread
final String cfork_name = "fork_linux_thread";
final String cfork_desc = "Makes this function to run in a separate thread.";
Expand Down

0 comments on commit 9c06202

Please sign in to comment.