File: context.rst

package info (click to toggle)
llvmlite 0.44.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,736 kB
  • sloc: python: 12,771; cpp: 3,146; sh: 185; makefile: 183
file content (22 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Context
============

LLVMContext is an opaque context reference used to group modules into logical groups.
For example, the type names are unique within a context, the name collisions
are resolved by LLVM automatically.

LLVMContextRef
--------------

A wrapper around LLVMContext. Should not be instantiated directly, use the
following methods:

.. class:: LLVMContextRef

* .. function:: create_context():

    Create a new LLVMContext instance.

* .. function:: get_global_context():

    Get the reference to the global context.