Scarab  v2.9.0
Project 8 C++ Utility Library
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Config Class Reference

Public Member Functions

def lib (self)
 
def get_filename (self)
 
def get_cindex_library (self)
 
def function_exists (self, name)
 

Static Public Member Functions

def set_library_path (path)
 
def set_library_file (filename)
 
def set_compatibility_check (check_status)
 

Static Public Attributes

 library_path = None
 
 library_file = None
 
bool compatibility_check = False
 
bool loaded = False
 

Detailed Description

Definition at line 3764 of file cindex.py.

Member Function Documentation

◆ function_exists()

def function_exists (   self,
  name 
)

Definition at line 3849 of file cindex.py.

◆ get_cindex_library()

def get_cindex_library (   self)

Definition at line 3838 of file cindex.py.

◆ get_filename()

def get_filename (   self)

Definition at line 3819 of file cindex.py.

◆ lib()

def lib (   self)

Definition at line 3813 of file cindex.py.

◆ set_compatibility_check()

def set_compatibility_check (   check_status)
static
Perform compatibility check when loading libclang

The python bindings are only tested and evaluated with the version of
libclang they are provided with. To ensure correct behavior a (limited)
compatibility check is performed when loading the bindings. This check
will throw an exception, as soon as it fails.

In case these bindings are used with an older version of libclang, parts
that have been stable between releases may still work. Users of the
python bindings can disable the compatibility check. This will cause
the python bindings to load, even though they are written for a newer
version of libclang. Failures now arise if unsupported or incompatible
features are accessed. The user is required to test themselves if the
features they are using are available and compatible between different
libclang versions.

Definition at line 3789 of file cindex.py.

◆ set_library_file()

def set_library_file (   filename)
static
Set the exact location of libclang

Definition at line 3780 of file cindex.py.

◆ set_library_path()

def set_library_path (   path)
static
Set the path in which to search for libclang

Definition at line 3771 of file cindex.py.

Member Data Documentation

◆ compatibility_check

bool compatibility_check = False
static

Definition at line 3767 of file cindex.py.

◆ library_file

library_file = None
static

Definition at line 3766 of file cindex.py.

◆ library_path

library_path = None
static

Definition at line 3765 of file cindex.py.

◆ loaded

bool loaded = False
static

Definition at line 3768 of file cindex.py.


The documentation for this class was generated from the following file: