-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [PSym] Update importing foreign functions Updates how files containing foreign functions are imported with the new P 2.0 paths * [PSym] Update examples with foreign functions * [PCompiler] Completely eliminate nuget dependency on PCSharpRuntime/PCheckerCore for p check command Remove all runtime dependencies on PCSharpRuntime or PCheckerCore nuget packages. Instead, import from local .dll files already installed when installing P
- Loading branch information
Showing
29 changed files
with
138 additions
and
55 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
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
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
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions
7
...ntimes/PSymRuntime/Examples/tests/PingPongForeign/pingPongForeign1/pingPongForeign1.pproj
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,7 +1,8 @@ | ||
<Project> | ||
<ProjectName>pingPongForeign1</ProjectName> | ||
<InputFiles> | ||
<PFile>./</PFile> | ||
<PFile>./PSrc/</PFile> | ||
<PFile>./PForeign/</PFile> | ||
</InputFiles> | ||
<Target>Symbolic</Target> | ||
</Project> | ||
<OutputDir>./PGenerated/</OutputDir> | ||
</Project> |
13 changes: 0 additions & 13 deletions
13
Src/PRuntimes/PSymRuntime/Examples/tests/PingPongForeign/pingPongForeign2/CustomInt.java
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...times/PSymRuntime/Examples/tests/PingPongForeign/pingPongForeign2/PForeign/CustomInt.java
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package psym.model; | ||
|
||
import lombok.Getter; | ||
import psym.runtime.values.*; | ||
|
||
public class CustomInt { | ||
@Getter | ||
private int value; | ||
|
||
CustomInt(int val) { | ||
this.value = (int) val; | ||
} | ||
|
||
CustomInt(Object val) { | ||
if (val instanceof CustomInt) | ||
this.value = ((CustomInt) val).getValue(); | ||
else | ||
this.value = (int) val; | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions
7
...ntimes/PSymRuntime/Examples/tests/PingPongForeign/pingPongForeign2/pingPongForeign2.pproj
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,7 +1,8 @@ | ||
<Project> | ||
<ProjectName>pingPongForeign2</ProjectName> | ||
<InputFiles> | ||
<PFile>./</PFile> | ||
<PFile>./PSrc/</PFile> | ||
<PFile>./PForeign/</PFile> | ||
</InputFiles> | ||
<Target>Symbolic</Target> | ||
</Project> | ||
<OutputDir>./PGenerated/</OutputDir> | ||
</Project> |
13 changes: 0 additions & 13 deletions
13
Src/PRuntimes/PSymRuntime/Examples/tests/PingPongForeign/pingPongForeign3/CustomInt.java
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...times/PSymRuntime/Examples/tests/PingPongForeign/pingPongForeign3/PForeign/CustomInt.java
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package psym.model; | ||
|
||
import lombok.Getter; | ||
import psym.runtime.values.*; | ||
|
||
public class CustomInt { | ||
@Getter | ||
private int value; | ||
|
||
CustomInt(int val) { | ||
this.value = (int) val; | ||
} | ||
|
||
CustomInt(Object val) { | ||
if (val instanceof CustomInt) | ||
this.value = ((CustomInt) val).getValue(); | ||
else | ||
this.value = (int) val; | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions
6
...ntimes/PSymRuntime/Examples/tests/PingPongForeign/pingPongForeign3/pingPongForeign3.pproj
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,7 +1,9 @@ | ||
<Project> | ||
<ProjectName>pingPongForeign3</ProjectName> | ||
<InputFiles> | ||
<PFile>./</PFile> | ||
<PFile>./PSrc/</PFile> | ||
<PFile>./PTst/</PFile> | ||
<PFile>./PForeign/</PFile> | ||
</InputFiles> | ||
<Target>Symbolic</Target> | ||
<OutputDir>./PGenerated/</OutputDir> | ||
</Project> |
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions
5
...ntimes/PSymRuntime/Examples/tests/PingPongForeign/pingPongForeign4/pingPongForeign4.pproj
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,7 +1,8 @@ | ||
<Project> | ||
<ProjectName>pingPongForeign1</ProjectName> | ||
<InputFiles> | ||
<PFile>./</PFile> | ||
<PFile>./PSrc/</PFile> | ||
<PFile>./PForeign/</PFile> | ||
</InputFiles> | ||
<Target>Symbolic</Target> | ||
<OutputDir>./PGenerated/</OutputDir> | ||
</Project> |
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
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
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