摘要:
1:预定义在home目录,也可以其他任意目录,写一个文件,例如caleng_module.def内容是你希望定义的函数名以及参数:int a(int x,int y)string b(string str,int n)2:到php源码目录的ext目录#cd /usr/local/php-5.4.0/ext/执行命令,生成对应扩展目录#./ext_skel --extname=caleng_module --proto=/home/hm/caleng_module.def3:修改config.m4去掉dnl的注释PHP_ARG_ENABLE(caleng_module, whether to e 阅读全文
posted @ 2012-07-31 10:38
冰雨战士
阅读(790)
评论(0)
推荐(0)
浙公网安备 33010602011771号