Skip to content

Commit

Permalink
Fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
robertgoss committed Sep 25, 2023
1 parent fc311f7 commit 09fe8bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Build/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set startingDir="%CD%"
set basepath="%~dp0"

cd %basepath%\..\Source
set Sources=actutils.go automaticcomponenttoolkit.go buildbindingccpp.go buildbindingcsharp.go buildbindinggo.go buildbindingnode.go buildbindingpascal.go buildbindingpython.go buildimplementationcpp.go buildimplementationpascal.go buildimplementationrust.go componentdefinition.go componentdiff.go languagewriter.go languagec.go languagecpp.go languagepascal.go languagerust.go
set Sources=actutils.go automaticcomponenttoolkit.go buildbindingccpp.go buildbindingccppdocumentation.go buildbindingcsharp.go buildbindinggo.go buildbindingjava.go buildbindingnode.go buildbindingpascal.go buildbindingpython.go buildimplementationcpp.go buildimplementationpascal.go buildimplementationrust.go componentdefinition.go componentdiff.go languagewriter.go languagec.go languagecpp.go languagepascal.go languagerust.go
set GOARCH=amd64
echo "Build act.win64.exe"
go build -o ..\act.win64.exe %Sources%
Expand Down
6 changes: 5 additions & 1 deletion Examples/Primes/libPrimes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
</functiontype>

<class name="Base">
<method name="ClassTypeId" description="Get Class Type Id">
<param name="ClassTypeId" type="uint64" pass="return" description="Class type as a 64 bits integer" />
</method>
</class>

<class name="Calculator" parent="Base">
Expand Down Expand Up @@ -75,7 +78,8 @@
</class>

<global baseclassname="Base" acquiremethod="AcquireInstance"
releasemethod="ReleaseInstance" versionmethod="GetVersion" errormethod="GetLastError" journalmethod="SetJournal">
releasemethod="ReleaseInstance" versionmethod="GetVersion" errormethod="GetLastError" journalmethod="SetJournal"
classtypeidmethod="ClassTypeId">
<method name="GetVersion" description = "retrieves the binary version of this library.">
<param name="Major" type="uint32" pass="out" description="returns the major version of this library" />
<param name="Minor" type="uint32" pass="out" description="returns the minor version of this library" />
Expand Down
4 changes: 2 additions & 2 deletions Source/languagewriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ func (writer *LanguageWriter) WritePythonLicenseHeader(component ComponentDefini
}

// WriteJavaLicenseHeader writes a license header into a writer Java-style comments
func (writer *LanguageWriter) WriteJavaLicenseHeader (component ComponentDefinition, abstract string, includeVersion bool) {
writeLicenseHeaderEx (writer.Writer, component, abstract, includeVersion, "/*", "*/");
func (writer *LanguageWriter) WriteJavaLicenseHeader(component ComponentDefinition, abstract string, includeVersion bool) {
writeLicenseHeaderEx(writer.Writer, component, abstract, includeVersion, "/*", "*/", "")
}

// WritePlainLicenseHeader writes a license header into a writer without comments
Expand Down

0 comments on commit 09fe8bd

Please sign in to comment.