ios CCFuntion.m

objectivec 复制代码
//
//  CCFuntion.h
//  CCFC
//
//  Created by xichen on 11-12-30.
//  Copyright 2011 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>




@interface CCFuntion : NSObject 
{


}


// returns whether the function exists or not
+ (BOOL)isFuntionExist:(IMP)funcPtr;




@end
cpp 复制代码
//
//  CCFuntion.m
//  CCFC
//
//  Created by xichen on 11-12-30.
//  Copyright 2011 ccteam. All rights reserved.
//


#import "CCFuntion.h"




@implementation CCFuntion


// returns whether the function exists or not
+ (BOOL)isFuntionExist:(IMP)funcPtr
{
        return funcPtr != NULL;
}


@end

微风不燥,阳光正好,你就像风一样经过这里,愿你停留的片刻温暖舒心。

我是程序员小迷(致力于C、C++、Java、Kotlin、Android、Shell、JavaScript、TypeScript、Python等编程技术的技巧经验分享),若作品对您有帮助,请关注、分享、点赞、收藏、在看、喜欢,您的支持是我们为您提供帮助的最大动力。

欢迎关注。助您在编程路上越走越好!

相关推荐
智航GIS16 小时前
1.2 python及pycharm的安装
开发语言·python·pycharm
froginwe1116 小时前
Lua 字符串处理指南
开发语言
k***921617 小时前
list 迭代器:C++ 容器封装的 “行为统一” 艺术
java·开发语言·数据结构·c++·算法·list
karshey17 小时前
【前端】sort:js按照固定顺序排序
开发语言·前端·javascript
MyBFuture17 小时前
索引器实战:对象数组访问技巧及命名空间以及项目文件规范
开发语言·前端·c#·visual studio
38242782717 小时前
python:单例模式
开发语言·python·单例模式
摸鱼仙人~17 小时前
一文详解text2vec库
开发语言·python
jghhh0117 小时前
基于C#的串口电子秤测试程序
开发语言·c#
饕餮争锋17 小时前
pip install 报错This environment is externally managed
开发语言·python·pip
superman超哥17 小时前
仓颉语言导入语句使用深度解析
c语言·开发语言·c++·python·仓颉