Objective-C源码转C源码
clang编译选项-rewrite-objc,可以将Objective-C代码翻译到C代码
1 | -rewrite-objc Rewrite Objective-C source to C++ |
1 | int main(int argc, char **argv) { |
1 | clang -rewrite-objc test.m |
- 本文链接: https://ourfor.top/article/rewrite-objc/
- 版权声明: 本博客所有文章除特别声明外,均采用 ©BY-NC-SA 许可协议。转载请注明出处!