My favorites
▼
|
Sign in
hxcpp
Runtime files for c++ backend for haxe
Project Home
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
124
attachment: Main1.cpp
(2.4 KB)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#include <hxcpp.h>
#ifndef INCLUDED_Foo
#include <Foo.h>
#endif
#ifndef INCLUDED_Main
#include <Main.h>
#endif
#ifndef INCLUDED_haxe_Log
#include <haxe/Log.h>
#endif
Void Main_obj::__construct()
{
return null();
}
Main_obj::~Main_obj() { }
Dynamic Main_obj::__CreateEmpty() { return new Main_obj; }
hx::ObjectPtr< Main_obj > Main_obj::__new()
{ hx::ObjectPtr< Main_obj > result = new Main_obj();
result->__construct();
return result;}
Dynamic Main_obj::__Create(hx::DynamicArray inArgs)
{ hx::ObjectPtr< Main_obj > result = new Main_obj();
result->__construct();
return result;}
Void Main_obj::main( ){
{
__SAFE_POINT
HX_SOURCE_PUSH("Main_obj::main")
HX_SOURCE_POS("../src/Main.hx",5)
::Foo foo = ::Foo_obj::__new();
HX_SOURCE_POS("../src/Main.hx",6)
{
HX_SOURCE_POS("../src/Main.hx",6)
Dynamic();
HX_SOURCE_POS("../src/Main.hx",6)
foo->_a[(int)1] = (int)1;
}
struct _Function_1_1{
inline static int Block( ::Foo &foo){
HX_SOURCE_POS("../src/Main.hx",7)
Dynamic();
HX_SOURCE_POS("../src/Main.hx",7)
return foo->_a->__get((int)1);
}
};
HX_SOURCE_POS("../src/Main.hx",7)
int val = _Function_1_1::Block(foo);
HX_SOURCE_POS("../src/Main.hx",8)
::haxe::Log_obj::trace(val,hx::SourceInfo(HX_CSTRING("Main.hx"),8,HX_CSTRING("Main"),HX_CSTRING("main")));
}
return null();
}
STATIC_HX_DEFINE_DYNAMIC_FUNC0(Main_obj,main,(void))
Main_obj::Main_obj()
{
}
void Main_obj::__Mark(HX_MARK_PARAMS)
{
HX_MARK_BEGIN_CLASS(Main);
HX_MARK_END_CLASS();
}
Dynamic Main_obj::__Field(const ::String &inName)
{
switch(inName.length) {
case 4:
if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); }
}
return super::__Field(inName);
}
Dynamic Main_obj::__SetField(const ::String &inName,const Dynamic &inValue)
{
return super::__SetField(inName,inValue);
}
void Main_obj::__GetFields(Array< ::String> &outFields)
{
super::__GetFields(outFields);
};
static ::String sStaticFields[] = {
HX_CSTRING("main"),
String(null()) };
static ::String sMemberFields[] = {
String(null()) };
static void sMarkStatics(HX_MARK_PARAMS) {
};
Class Main_obj::__mClass;
void Main_obj::__register()
{
Static(__mClass) = hx::RegisterClass(HX_CSTRING("Main"), hx::TCanCast< Main_obj> ,sStaticFields,sMemberFields,
&__CreateEmpty, &__Create,
&super::__SGetClass(), 0, sMarkStatics);
}
void Main_obj::__boot()
{
}
Powered by
Google Project Hosting