lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.generator.c.CMainFunctionGenerator Class Reference

Generate the code that is the entry point of the program. More...

Public Member Functions

 CMainFunctionGenerator (TargetConfig targetConfig)
String generateCode ()
 Generate the code that is the entry point of the program.

Detailed Description

Generate the code that is the entry point of the program.

Constructor & Destructor Documentation

◆ CMainFunctionGenerator()

org.lflang.generator.c.CMainFunctionGenerator.CMainFunctionGenerator ( TargetConfig targetConfig)

Member Function Documentation

◆ generateCode()

String org.lflang.generator.c.CMainFunctionGenerator.generateCode ( )

Generate the code that is the entry point of the program.

Ideally, this code would belong to its own main.c file, but it currently lives in the same file as all the code generated for reactors.


The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/generator/c/CMainFunctionGenerator.java