This file is indexed.

/usr/include/dune/grid/io/visual/grape/grapewrapper.hh is in libdune-grid-dev 2.2.1-2.

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
#ifndef __GRAPEWRAPPER__
#define __GRAPEWRAPPER__

#if HAVE_GRAPE

#include <string>

#ifdef __cplusplus
extern "C" {
#endif // #ifdef __cplusplus

#define class GrapeClass
#define private GrapePrivate 
#define friend GrapeFriend 
#define explicit GrapeExplicit
  
#define G_CPP
#include <grape.h>  
#undef G_CPP  

#undef class 
#undef private
#undef friend
#undef explicit

// make cast from const char * to char * 
// otherwise wont work with gcc 4.2.x
#define GRAPE_CALL(obj,meth) GRAPE(obj,((char *)meth))
  
// make cast from const char * to char * 
// otherwise wont work with gcc 4.2.x
inline void g_newerrorbox (const char * a, const char * b, int c, const char * d)
{
  g_errorbox(((char *)a),((char *)b),c,((char *)d));
}

// define new alert macro that uses g_newerrorbox
#define GRAPE_ALERT(condition,message,error_exit) \
do{if(!(condition)){ \
  g_newerrorbox(message,__FILE__,__LINE__,#condition); \
  error_exit; \
}}while(0)

#ifdef __cplusplus
} // extern "C"
#endif // #ifdef __cplusplus

#endif // #if HAVE_GRAPE
  
#endif // #ifndef __GRAPEWRAPPER__