forked from Kitware/VTK
/
vtkWrapPythonConstant.h
32 lines (23 loc) · 1.21 KB
/
vtkWrapPythonConstant.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*=========================================================================
Program: Visualization Toolkit
Module: vtkWrapPythonConstant.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef vtkWrapPythonConstant_h
#define vtkWrapPythonConstant_h
#include "vtkParse.h"
#include "vtkParseData.h"
#include "vtkParseHierarchy.h"
/* generate code that adds a constant value to a python dict */
void vtkWrapPython_AddConstant(FILE* fp, const char* indent, const char* dictvar,
const char* objvar, const char* scope, ValueInfo* val);
/* generate code that adds all public constants in a namespace */
void vtkWrapPython_AddPublicConstants(
FILE* fp, const char* indent, const char* dictvar, const char* objvar, NamespaceInfo* data);
#endif /* vtkWrapPythonConstant_h */
/* VTK-HeaderTest-Exclude: vtkWrapPythonConstant.h */