EMAN2
Functions
vtkio.cpp File Reference
#include <cstring>
#include <climits>
#include "vtkio.h"
#include "util.h"
#include "geometry.h"
#include "portable_fileio.h"
Include dependency graph for vtkio.cpp:

Go to the source code of this file.

Functions

static int samestr (const char *s1, const char *s2)
 

Function Documentation

◆ samestr()

static int samestr ( const char *  s1,
const char *  s2 
)
static

Definition at line 71 of file vtkio.cpp.

72{
73 return (strncmp(s1, s2, strlen(s2)) == 0);
74}

Referenced by EMAN::VtkIO::read_dataset().