-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add optional CLI flag for empty line padding
- Loading branch information
1 parent
bc115c2
commit c998523
Showing
10 changed files
with
312 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,22 @@ | ||
class MyClass | ||
"Class to demo function definitions" | ||
extends Modelica.Icons.BasesPackage; | ||
|
||
function constructor | ||
"Construct to connect to a schedule in EnergyPlus" | ||
extends Modelica.Icons.Function; | ||
|
||
input Integer input1 | ||
"input 1 comment"; | ||
|
||
output MyClass adapter; | ||
|
||
external "C" adapter=ExternalFunctionCall( | ||
param1, | ||
param2, | ||
param3); | ||
|
||
end constructor; | ||
|
||
function destructor | ||
"Some comment" | ||
extends Modelica.Icons.Function; | ||
|
||
input Integer input2; | ||
|
||
external "C" EnergyPlusInputVariableFree( | ||
input2); | ||
|
||
end destructor; | ||
|
||
end MyClass; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.