This file is indexed.

/usr/include/openturns/swig/GaussLegendre.i is in libopenturns-dev 1.9-5.

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
// SWIG file GaussLegendre.i

// do not pass argument by reference, return it as tuple item
%typemap(in, numinputs=0) OT::Sample & adaptedNodes ($*ltype temp) %{ temp = OT::Sample(); $1 = &temp; %}
%typemap(argout) OT::Sample & adaptedNodes %{ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(new OT::Sample(*$1), SWIG_TypeQuery("OT::Sample *"), SWIG_POINTER_OWN |  0 )); %}
OT::Point OT::GaussLegendre::integrateWithNodes(const OT::Function & function,
                           const OT::Interval & interval,
                           OT::Sample & adaptedNodes) const;

%{
#include "openturns/GaussLegendre.hxx"
%}

%include GaussLegendre_doc.i

%include openturns/GaussLegendre.hxx
namespace OT { %extend GaussLegendre { GaussLegendre(const GaussLegendre & other) { return new OT::GaussLegendre(other); } } }