1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Fixed CPP mangling for static fields

This commit is contained in:
Brian Fiete 2020-11-16 05:23:19 -08:00
parent e1a74ce81a
commit ca3308d959
4 changed files with 99 additions and 95 deletions

View file

@ -2,12 +2,13 @@
#include <stdio.h>
namespace Tests
{
{
struct Interop
{
struct StructA
{
int mA;
static int sVal;
int MethodA0(int arg0)
{
@ -287,6 +288,8 @@ namespace Tests
float mX;
};
};
int Interop::StructA::sVal = 1234;
}
using namespace Tests;