conv_proto

来自「php-4.4.7学习linux时下载的源代码」· 代码 · 共 31 行

TXT
31
字号
#! /bin/sh## do some automatic conversion of prototypes#if test "$1" = "" ; then	echo "usage: $0 list-of-files"	exit 1fitmpfile=`mktemp -q /tmp/asd.XXXXXX`if test "$?" != "0" ; then	echo "$0: cannot create temporary file"	exit 1fifor file in ${1+"$@"} ; do	echo "working on $file"	cat $file | \	sed -e \	's/void php3_\(.*\)(INTERNAL_FUNCTION_PARAMETERS)/PHP_FUNCTION(\1)/' \    -e 's/^extern void /void /' \	-e 's/^extern PHP_FUNCTION/PHP_FUNCTION/' > $tmpfile	cp $tmpfile $filedonerm -f $tmpfileexit 0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?