mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-07 00:36:00 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
6
IDEHelper/Tests/LibC/BeefProj.toml
Normal file
6
IDEHelper/Tests/LibC/BeefProj.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
Dependencies = {corlib = "*", LibA = "*"}
|
||||
|
||||
[Project]
|
||||
Name = "LibC"
|
||||
TargetType = "BeefLib"
|
||||
StartupObject = "Program"
|
23
IDEHelper/Tests/LibC/src/LibC0.bf
Normal file
23
IDEHelper/Tests/LibC/src/LibC0.bf
Normal file
|
@ -0,0 +1,23 @@
|
|||
namespace LibC
|
||||
{
|
||||
class LibC0
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
extension LibClassA
|
||||
{
|
||||
public int32 mB = GetVal(13, "LibC.LibClassA.mB");
|
||||
|
||||
public this(int8 i8)
|
||||
{
|
||||
PrintF("LibC.LibClassA()\n");
|
||||
mB += 30000;
|
||||
}
|
||||
|
||||
public int LibC_GetB()
|
||||
{
|
||||
return mB;
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue