GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
generate_swig_interfaces.SwigInlineScope Class Reference
Inheritance diagram for generate_swig_interfaces.SwigInlineScope:

Public Member Functions

def __init__ (self, ofs)
 Adds inline block. More...
 
def __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, traceback)
 

Public Attributes

 os
 

Constructor & Destructor Documentation

◆ __init__()

def generate_swig_interfaces.SwigInlineScope.__init__ (   self,
  ofs 
)

Adds inline block.

The code within inline %{ %} block is added to the generated wrapper C++ file AND is processed by SWIG

Member Function Documentation

◆ __enter__()

def generate_swig_interfaces.SwigInlineScope.__enter__ (   self)

◆ __exit__()

def generate_swig_interfaces.SwigInlineScope.__exit__ (   self,
  exc_type,
  exc_value,
  traceback 
)

Member Data Documentation

◆ os

generate_swig_interfaces.SwigInlineScope.os

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