source: trunk/packages/vizservers/vtkvis/RpVtkRendererCmd.h @ 2434

Last change on this file since 2434 was 2278, checked in by ldelgass, 13 years ago

Delete Tcl interpreter and NULL out global pointers before exit to appease
valgrind. The Tcl interpreter namespace teardown still contains some reachable
blocks on exit due to an unmatched Tcl_Preserve, but I'm not sure how to solve
that.

  • Property svn:eol-style set to native
File size: 490 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (C) 2011, Purdue Research Foundation
4 *
5 * Author: Leif Delgass <ldelgass@purdue.edu>
6 */
7
8#ifndef __RAPPTURE_VTKVIS_RENDERERCMD_H__
9#define __RAPPTURE_VTKVIS_RENDERERCMD_H__
10
11#include <cstdio>
12#include <tcl.h>
13
14namespace Rappture {
15namespace VtkVis {
16
17extern int processCommands(Tcl_Interp *interp, FILE *fin, FILE *fout);
18extern Tcl_Interp *initTcl();
19extern void exitTcl(Tcl_Interp *interp);
20
21}
22}
23
24#endif
Note: See TracBrowser for help on using the repository browser.