⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s_java_swig

📁 这是国外的resip协议栈
💻
字号:
#!/bin/sh -#       $Id: s_java_swig,v 11.11 2004/09/23 17:31:53 mjc Exp $## Run SWIG to generate the Java APIsSWIG=swigSWIG_DIR=../libdb_javaSWIG_FILE=$SWIG_DIR/db.iPACKAGE="com.sleepycat.db.internal"die() {	echo "$@" >&2	exit 1}[ -f $SWIG_FILE ] || die "Must be run from the dist directory"for api in java ; do	echo "Building $api API"	swig_args=""	case $api in	java)		swig_args="-nodefault -package $PACKAGE $args"		;;	esac	$SWIG -Wall -$api $swig_args -I$SWIG_DIR \	    -o ../libdb_$api/db_${api}_wrap.c $SWIG_FILE || exit $?done# Skip Java sources if run with "-n"if [ "x$1" = "x-n" ] ; then	rm -f $SWIG_DIR/*.java	exit 0fi# Fixups for JavaJAVA_SRCTOP=../java/srcJAVA_PKGDIR=com/sleepycat/db/internalJAVA_SRCDIR=$JAVA_SRCTOP/$JAVA_PKGDIR# SWIG 1.3.18 puts the Java files in the same directory as the native code.cd $SWIG_DIR[ -f Db.java ] || exit 1for f in *.java ; do	case $f in		SWIGTYPE*)			die "Interface contains unresolved types: $f"	esac	rm -f $JAVA_SRCDIR/$f	perl -p $SWIG_DIR/java-post.pl < $f > $JAVA_SRCDIR/$f || exit $?	rm -f $fdone

⌨️ 快捷键说明

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