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
|
/*
* File: Overload_AClass_Impl.c
* Symbol: Overload.AClass-v1.0
* Symbol Type: class
* Babel Version: 0.10.2
* Description: Server-side implementation for Overload.AClass
*
* WARNING: Automatically generated; only changes within splicers preserved
*
* babel-version = 0.10.2
*/
/*
* DEVELOPERS ARE EXPECTED TO PROVIDE IMPLEMENTATIONS
* FOR THE FOLLOWING METHODS BETWEEN SPLICER PAIRS.
*/
/*
* Symbol "Overload.AClass" (version 1.0)
*
* This class is passed into the overloaded method as an example
* of passing classes.
*/
#include "Overload_AClass_Impl.h"
#line 27 "../../../../babel/regression/overload/libC/Overload_AClass_Impl.c"
/* DO-NOT-DELETE splicer.begin(Overload.AClass._includes) */
/* Put additional includes or other arbitrary code here... */
/* DO-NOT-DELETE splicer.end(Overload.AClass._includes) */
#line 31 "Overload_AClass_Impl.c"
/*
* Static class initializer called exactly once before any user-defined method is dispatched
*/
#undef __FUNC__
#define __FUNC__ "impl_Overload_AClass__load"
void
impl_Overload_AClass__load(
void)
{
#line 42 "../../../../babel/regression/overload/libC/Overload_AClass_Impl.c"
/* DO-NOT-DELETE splicer.begin(Overload.AClass._load) */
/* Insert the implementation of the static class initializer method here... */
/* DO-NOT-DELETE splicer.end(Overload.AClass._load) */
#line 48 "Overload_AClass_Impl.c"
}
/*
* Class constructor called when the class is created.
*/
#undef __FUNC__
#define __FUNC__ "impl_Overload_AClass__ctor"
void
impl_Overload_AClass__ctor(
/* in */ Overload_AClass self)
{
#line 57 "../../../../babel/regression/overload/libC/Overload_AClass_Impl.c"
/* DO-NOT-DELETE splicer.begin(Overload.AClass._ctor) */
/* Insert the implementation of the constructor method here... */
/* DO-NOT-DELETE splicer.end(Overload.AClass._ctor) */
#line 65 "Overload_AClass_Impl.c"
}
/*
* Class destructor called when the class is deleted.
*/
#undef __FUNC__
#define __FUNC__ "impl_Overload_AClass__dtor"
void
impl_Overload_AClass__dtor(
/* in */ Overload_AClass self)
{
#line 73 "../../../../babel/regression/overload/libC/Overload_AClass_Impl.c"
/* DO-NOT-DELETE splicer.begin(Overload.AClass._dtor) */
/* Insert the implementation of the destructor method here... */
/* DO-NOT-DELETE splicer.end(Overload.AClass._dtor) */
#line 83 "Overload_AClass_Impl.c"
}
/*
* Method: getValue[]
*/
#undef __FUNC__
#define __FUNC__ "impl_Overload_AClass_getValue"
int32_t
impl_Overload_AClass_getValue(
/* in */ Overload_AClass self)
{
#line 89 "../../../../babel/regression/overload/libC/Overload_AClass_Impl.c"
/* DO-NOT-DELETE splicer.begin(Overload.AClass.getValue) */
return 2;
/* DO-NOT-DELETE splicer.end(Overload.AClass.getValue) */
#line 101 "Overload_AClass_Impl.c"
}
|