Skip to content
Snippets Groups Projects
Select Git revision
  • d6c711d63e5c1569a0488d6f5a5135f4bdeca8ff
  • main default protected
2 results

setup.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    AmptekHardwareInterface_wrap.cpp 631.54 KiB
    /* ----------------------------------------------------------------------------
     * This file was automatically generated by SWIG (http://www.swig.org).
     * Version 3.0.8
     *
     * This file is not intended to be easily readable and contains a number of
     * coding conventions designed to improve portability and efficiency. Do not make
     * changes to this file unless you know what you are doing--modify the SWIG
     * interface file instead.
     * ----------------------------------------------------------------------------- */
    
    
    #ifndef SWIGPYTHON
    #define SWIGPYTHON
    #endif
    
    #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
    
    
    #ifdef __cplusplus
    /* SwigValueWrapper is described in swig.swg */
    template<typename T> class SwigValueWrapper {
      struct SwigMovePointer {
        T *ptr;
        SwigMovePointer(T *p) : ptr(p) { }
        ~SwigMovePointer() { delete ptr; }
        SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
      } pointer;
      SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
      SwigValueWrapper(const SwigValueWrapper<T>& rhs);
    public:
      SwigValueWrapper() : pointer(0) { }
      SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
      operator T&() const { return *pointer.ptr; }
      T *operator&() { return pointer.ptr; }
    };
    
    template <typename T> T SwigValueInit() {
      return T();
    }
    #endif
    
    /* -----------------------------------------------------------------------------
     *  This section contains generic SWIG labels for method/variable
     *  declarations/attributes, and other compiler dependent labels.
     * ----------------------------------------------------------------------------- */
    
    /* template workaround for compilers that cannot correctly implement the C++ standard */
    #ifndef SWIGTEMPLATEDISAMBIGUATOR
    # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
    #  define SWIGTEMPLATEDISAMBIGUATOR template
    # elif defined(__HP_aCC)
    /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
    /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
    #  define SWIGTEMPLATEDISAMBIGUATOR template
    # else
    #  define SWIGTEMPLATEDISAMBIGUATOR
    # endif
    #endif
    
    /* inline attribute */
    #ifndef SWIGINLINE
    # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
    #   define SWIGINLINE inline
    # else
    #   define SWIGINLINE
    # endif
    #endif
    
    /* attribute recognised by some compilers to avoid 'unused' warnings */
    #ifndef SWIGUNUSED