summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1998-09-29 00:15:29 (GMT)
committerstanton <stanton@noemail.net>1998-09-29 00:15:29 (GMT)
commit44fe62a9cda522475be53f14654970aaa3d4a648 (patch)
tree761fe3f5cb61566fcd44b41ee6abf34491d7f9ec /mac
parent9c5b7f2b7e472536ed2e7c915ead05e2aa264182 (diff)
downloadtk-44fe62a9cda522475be53f14654970aaa3d4a648.zip
tk-44fe62a9cda522475be53f14654970aaa3d4a648.tar.gz
tk-44fe62a9cda522475be53f14654970aaa3d4a648.tar.bz2
removed deleted file
FossilOrigin-Name: 7e215d12e3c45fbec932738998188f28c7fcac4b
Diffstat (limited to 'mac')
-rw-r--r--mac/tkMacProlog.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/mac/tkMacProlog.c b/mac/tkMacProlog.c
deleted file mode 100644
index 21cf67c..0000000
--- a/mac/tkMacProlog.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * tkMacProlog.c --
- *
- * Implements a method on the Macintosh to get the prolog
- * from the resource fork of our application (or the shared
- * library).
- *
- * Copyright (c) 1996-1997 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: @(#) tkMacProlog.c 1.6 97/05/21 10:01:07
- */
-
-#include "tkInt.h"
-#include "tclMacInt.h"
-#include <Resources.h>
-
-/*
- *--------------------------------------------------------------
- *
- * TkGetNativeProlog --
- *
- * Locate and load the postscript prolog from the resource
- * fork of the application. If it can't be found then we
- * will try looking for the file in the system folder.
- *
- * Results:
- * A standard Tcl Result. If everything is OK the prolog
- * will be located in the result string of the interpreter.
- *
- * Side effects:
- * None.
- *
- *--------------------------------------------------------------
- */
-
-int
-TkGetNativeProlog(
- Tcl_Interp *interp) /* Places the prolog in the result. */
-{
- Handle resource;
- char *stringPtr;
- int releaseIt;
-
-
- resource = Tcl_MacFindResource(interp, 'TEXT', "prolog", -1,
- NULL, &releaseIt);
-
- if (resource != NULL) {
- stringPtr = Tcl_MacConvertTextResource(resource);
- Tcl_SetResult(interp, stringPtr, TCL_DYNAMIC);
- if (releaseIt) {
- ReleaseResource(resource);
- }
- return TCL_OK;
- } else {
- return TkGetProlog(interp);
- }
-}