tkmactest.c

来自「linux系统下的音频通信」· C语言 代码 · 共 82 行

C
82
字号
/*  * tkMacTest.c -- * *	Contains commands for platform specific tests for *	the Macintosh platform. * * Copyright (c) 1996 Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * SCCS: @(#) tkMacTest.c 1.2 96/12/15 14:34:00 */#include <Types.h>/* * Forward declarations of procedures defined later in this file: */int			TkplatformtestInit _ANSI_ARGS_((Tcl_Interp *interp));static int		DebuggerCmd _ANSI_ARGS_((ClientData dummy,			    Tcl_Interp *interp, int argc, char **argv));/* *---------------------------------------------------------------------- * * TkplatformtestInit -- * *	Defines commands that test platform specific functionality for *	Unix platforms. * * Results: *	A standard Tcl result. * * Side effects: *	Defines new commands. * *---------------------------------------------------------------------- */intTkplatformtestInit(    Tcl_Interp *interp)		/* Interpreter to add commands to. */{    /*     * Add commands for platform specific tests on MacOS here.     */        Tcl_CreateCommand(interp, "debugger", DebuggerCmd,            (ClientData) 0, (Tcl_CmdDeleteProc *) NULL);    return TCL_OK;}/* *---------------------------------------------------------------------- * * DebuggerCmd -- * *	This procedure simply calls the low level debugger. * * Results: *	A standard Tcl result. * * Side effects: *	None. * *---------------------------------------------------------------------- */static intDebuggerCmd(    ClientData clientData,		/* Not used. */    Tcl_Interp *interp,			/* Not used. */    int argc,				/* Not used. */    char **argv)			/* Not used. */{    Debugger();    return TCL_OK;}

⌨️ 快捷键说明

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