Пример #1
0
static GFacebook *getInstance(lua_State* L, int index)
{
	GReferenced *object = static_cast<GReferenced*>(g_getInstance(L, "Facebook", index));
	GFacebook *facebook = static_cast<GFacebook*>(object->proxy());
    
	return facebook;
}
static SamsungIAP *getInstance(lua_State* L, int index)
{
	GReferenced *object = static_cast<GReferenced*>(g_getInstance(L, "SamsungIAP", index));
	SamsungIAP *samsungiap = static_cast<SamsungIAP*>(object->proxy());

	return samsungiap;
}
Пример #3
0
static Controller *getInstance(lua_State* L, int index)
{
	GReferenced *object = static_cast<GReferenced*>(g_getInstance(L, "Controller", index));
	Controller *c = static_cast<Controller*>(object->proxy());
    
	return c;
}
static Greystripe *getInstance(lua_State *L, int index)
{
	GReferenced *object = static_cast<GReferenced*>(g_getInstance(L, "Greystripe", index));
	Greystripe *greystripe = static_cast<Greystripe*>(object->proxy());

	return greystripe;
}
Пример #5
0
static MoPub *getInstance(lua_State *L, int index)
{
	GReferenced *object = static_cast<GReferenced*>(g_getInstance(L, "MoPub", index));
	MoPub *mopub = static_cast<MoPub*>(object->proxy());

	return mopub;
}
Пример #6
0
static GooglePlay *getInstance(lua_State* L, int index)
{
	GReferenced *object = static_cast<GReferenced*>(g_getInstance(L, "GooglePlay", index));
	GooglePlay *gms = static_cast<GooglePlay*>(object->proxy());
    
	return gms;
}
Пример #7
0
static StoreDetector *getInstance(lua_State* L, int index)
{
	GReferenced *object = static_cast<GReferenced*>(g_getInstance(L, "StoreDetector", index));
	StoreDetector *sd = static_cast<StoreDetector*>(object->proxy());
    
	return sd;
}
Пример #8
0
int RenderTargetBinder::destruct(lua_State *L)
{
    void* ptr = *(void**)lua_touserdata(L, 1);
    GReferenced* refptr = static_cast<GReferenced*>(ptr);
    refptr->unref();

    return 0;
}
Пример #9
0
static int destruct(lua_State* L)
{
	void *ptr = *(void**)lua_touserdata(L, 1);
	GReferenced* object = static_cast<GReferenced*>(ptr);
	GFacebook *facebook = static_cast<GFacebook*>(object->proxy());
	
	facebook->unref();
	
	return 0;
}
static int destruct(lua_State* L)
{
	void *ptr = *(void**)lua_touserdata(L, 1);
	GReferenced* object = static_cast<GReferenced*>(ptr);
	SamsungIAP *samsungiap = static_cast<SamsungIAP*>(object->proxy());

	samsungiap->unref();

	return 0;
}
Пример #11
0
static int destruct(lua_State* L)
{
	void *ptr =*(void**)lua_touserdata(L, 1);
	GReferenced* object = static_cast<GReferenced*>(ptr);
	Greystripe *greystripe = static_cast<Greystripe*>(object->proxy());

	greystripe->unref();

	return 0;
}
Пример #12
0
static int destruct(lua_State* L)
{
	void *ptr =*(void**)lua_touserdata(L, 1);
	GReferenced* object = static_cast<GReferenced*>(ptr);
	MoPub *mopub = static_cast<MoPub*>(object->proxy());

	mopub->unref();

	return 0;
}
Пример #13
0
static int destruct(lua_State* L)
{
	void *ptr = *(void**)lua_touserdata(L, 1);
	GReferenced* object = static_cast<GReferenced*>(ptr);
	GooglePlay *gms = static_cast<GooglePlay*>(object->proxy());
	
	gms->unref();
	
	return 0;
}
Пример #14
0
static int destruct(lua_State* L)
{
	void *ptr = *(void**)lua_touserdata(L, 1);
	GReferenced* object = static_cast<GReferenced*>(ptr);
	Controller *c = static_cast<Controller*>(object->proxy());
	
	c->unref();
	
	return 0;
}
Пример #15
0
static int destruct(lua_State* L)
{
	void *ptr = *(void**)lua_touserdata(L, 1);
	GReferenced* object = static_cast<GReferenced*>(ptr);
	StoreDetector *sd = static_cast<StoreDetector*>(object->proxy());
	
	sd->unref();
	
	return 0;
}
Пример #16
0
static IAB *getInstance(lua_State* L, int index)
{
	GReferenced *object = static_cast<GReferenced*>(g_getInstance(L, "IAB", index));
	IAB *iab = static_cast<IAB*>(object->proxy());
	return iab;
}