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等编程技术的技巧经验分享),若作品对您有帮助,请关注、分享、点赞、收藏、在看、喜欢,您的支持是我们为您提供帮助的最大动力。

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

相关推荐
FL16238631295 小时前
[C#][winform]基于yolov8的水表读数检测与识别系统C#源码+onnx模型+评估指标曲线+精美GUI界面
开发语言·yolo·c#
cnxy1888 小时前
围棋对弈Python程序开发完整指南:步骤1 - 棋盘基础框架搭建
开发语言·python
程序员-周李斌9 小时前
Java 死锁
java·开发语言·后端
JasmineWr10 小时前
CompletableFuture相关问题
java·开发语言
零雲10 小时前
java面试:知道java的反射机制吗
java·开发语言·面试
Jeremy爱编码10 小时前
实现 Trie (前缀树)
开发语言·c#
laocooon52385788610 小时前
插入法排序 python
开发语言·python·算法
你的冰西瓜11 小时前
C++中的list容器详解
开发语言·c++·stl·list
就不掉头发11 小时前
I/O复用
运维·服务器·c语言·开发语言
梦里小白龙11 小时前
JAVA 策略模式+工厂模式
java·开发语言·策略模式