iphone-common-codes-ccteam源代码 CCRuntime.m

//  
// CCRuntime.m
// CCFC
//
// Created by xichen on 11-12-30.
// Copyright 2011 ccteam. All rights reserved.
//


#import "CCRuntime.h"




@implementation CCRuntime


// get the var of the obj
+ (Ivar)getObjVar:(id)obj varname:(const char *)varname ret:(void **)ret
{
return object_getInstanceVariable(obj, varname, ret);
}


@end

 

可能有更新:

googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCRuntime.m

github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCRuntime.m

 

posted @ 2012-01-05 14:29  cc_team  阅读(147)  评论(0编辑  收藏  举报