/usr/lib/cmake/paraview/vtkWrapClientServer.cxx.in is in paraview-dev 5.0.1+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #cmakedefine PARAVIEW_USE_UNIFIED_BINDINGS
#cmakedefine NO_PYTHON_BINDINGS_AVAILABLE
#ifdef NO_PYTHON_BINDINGS_AVAILABLE
#undef PARAVIEW_USE_UNIFIED_BINDINGS
#endif
#ifdef PARAVIEW_USE_UNIFIED_BINDINGS
#include "vtkPython.h"
#include "vtkPythonInterpreter.h"
#endif
#include "vtkClientServerInterpreter.h"
#ifndef PARAVIEW_BUILD_SHARED_LIBS
#cmakedefine PARAVIEW_BUILD_SHARED_LIBS
#endif
#if defined(PARAVIEW_BUILD_SHARED_LIBS) && defined(_WIN32)
# define VTK_WRAP_CS_EXPORT __declspec(dllexport)
#else
# define VTK_WRAP_CS_EXPORT
#endif
#ifdef PARAVIEW_USE_UNIFIED_BINDINGS
extern "C" void real_init@BARE_TARGET@Python(const char *modulename);
void init@BARE_TARGET@Python()
{
static const char modulename[] = "@BARE_TARGET@Python";
real_init@BARE_TARGET@Python(modulename);
}
#endif
@CXX_CONTENTS@
extern "C" void VTK_WRAP_CS_EXPORT @CS_TARGET@_Initialize(
vtkClientServerInterpreter *csi)
{
#ifdef PARAVIEW_USE_UNIFIED_BINDINGS
if (!vtkPythonInterpreter::IsInitialized())
{
vtkPythonInterpreter::Initialize();
}
static bool initialized = false;
if (!initialized)
{
initialized = true;
PyImport_AppendInittab("@BARE_TARGET@Python", init@BARE_TARGET@Python);
}
csi->Load("@BARE_TARGET@");
#endif
@CXX_CONTENTS2@
}
|