summaryrefslogtreecommitdiffstats
path: root/src/bltGrPSOutput.C
diff options
context:
space:
mode:
authorjoye <joye>2014-03-17 14:43:29 (GMT)
committerjoye <joye>2014-03-17 14:43:29 (GMT)
commit2502655cf696ac6b78ade1376845f3726e6179d6 (patch)
tree05ce2df952a79ce14be6a82c3f6c224b3f715c71 /src/bltGrPSOutput.C
parent1ca1642ae4c8db4b77c0247e3a8e86f87b58254e (diff)
downloadblt-2502655cf696ac6b78ade1376845f3726e6179d6.zip
blt-2502655cf696ac6b78ade1376845f3726e6179d6.tar.gz
blt-2502655cf696ac6b78ade1376845f3726e6179d6.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrPSOutput.C')
-rw-r--r--src/bltGrPSOutput.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bltGrPSOutput.C b/src/bltGrPSOutput.C
index 58dcb52..949cdbb 100644
--- a/src/bltGrPSOutput.C
+++ b/src/bltGrPSOutput.C
@@ -28,6 +28,7 @@
*
*/
+extern "C" {
#include <stdarg.h>
#include <X11/Xlib.h>
@@ -41,6 +42,7 @@
#include "bltInt.h"
#include "bltMath.h"
#include "bltPsInt.h"
+};
#define FONT_ITALIC (1<<0)
#define FONT_BOLD (1<<1)
@@ -114,9 +116,7 @@ int Blt_Ps_ComputeBoundingBox(PageSetup *setupPtr, int width, int height)
PostScript *Blt_Ps_Create(Tcl_Interp* interp, PageSetup *setupPtr)
{
- PostScript *psPtr;
-
- psPtr = malloc(sizeof(PostScript));
+ PostScript* psPtr = (PostScript*)malloc(sizeof(PostScript));
psPtr->setupPtr = setupPtr;
psPtr->interp = interp;
Tcl_DStringInit(&psPtr->dString);
option value='bug_3608360'>bug_3608360 Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | cleanup Tcl_Preserve after exit handlersKevin B Kenny2005-06-244-17/+20
| | |
| * | * library/auto.tcl: Make file safe to re-[source] withoutdgp2005-06-242-20/+32
| | | | | | | | | | | | destroying registered auto_mkindex_parser hooks.
| * | bug 1225957Kevin B Kenny2005-06-233-313/+294
| | |
| * | * tools/tcltk-man2html.tcl: fixed useversion glob pattern to acceptdas2005-06-232-1/+6
| | | | | | | | | | | | multi-digit patchlevels.
| * | bug 1225044Kevin B Kenny2005-06-222-2/+9
| | |
| * | * win/tclWinFile.c: Potential buffer overflow. [Bug 1225571]dgp2005-06-222-3/+8
| | | | | | | | | | | | Thanks to Pat Thoyts for discovery and fix.
| * | bug 1225727Kevin B Kenny2005-06-226-12/+58
| | |
| * | * generic/tclInt.h: Followup to change made on 2005-06-18 byandreas_kupries2005-06-212-1/+10
| | | | | | | | | | | | | | | | | | | | | Daniel Steffen. There are compilers (*) who error out on the redefinition of WORDS_BIGENDIAN. We have to undef the previous definition (on the command line) first to make this acceptable. (*): AIX native.
| * | bug 1194458Kevin B Kenny2005-06-213-9/+31
| | |
| * | * generic/tclBasic.c: Added missing walk of the list of active tracesdgp2005-06-215-9/+87
| | | | | | | | | | | | | | | | | | | | | * generic/tclTrace.c: to cleanup references to traces being deleted. * generic/tclInt.h: [Bug 1201035] Made the walk of the active trace * tests/trace.test (trace-34.*): list aware of the direction of trace scanning, so the proper correction can be made. [Bug 1224585]
| * | autoconfdgp2005-06-211-2/+3
| | |
| * | Only enable the 'compile' special debugging feature when requested indkf2005-06-213-7/+16
| | | | | | | | | | | | | | | configure.in; removes irrelevant junk from the configure files of extensions that use Tcl's tcl.m4.
| * | typosdkf2005-06-202-3/+4
| | |
| * | typodkf2005-06-201-2/+2
| | |
| * | Add compilation for TIP#90-style [catch] requiring a new opcode [Bug1219112]dkf2005-06-20