Package qubx :: Package fast :: Module types
[hide private]
[frames] | no frames]

Module types

Common imports and data marshalling for qubfast/ctypes bridge.

Copyright 2008-2011 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Functions [hide private]
 
buffer_to_pointer(buf)
 
cdata(arr, typ)
 
print_struct(s, indent='')
 
ptr_to_array(ptr, count, ctype, dtype)
Variables [hide private]
  __package__ = 'qubx.fast'
  cdll = <ctypes.LibraryLoader object at 0x8fa8f6c>
  pybuf = ctypes.pythonapi.PyBuffer_FromReadWriteMemory
  pyobj_asreadbuf = ctypes.pythonapi.PyObject_AsReadBuffer
  qubfast = <CDLL 'libqubfast.so', handle 96271b0 at cb0f96c>