Changeset [61d3829a0b63448f84c0c18286cc83bf0bf2b03b] by Christopher Stawarz

February 2nd, 2011 @ 09:54 AM

Improvements to Python data file tools (contributed by Ha Hong)

MWKStream:
- Writing Python objects (int, float, dict, tuple, list, etc.) to a mwk file (in scarab format) - Low-level scarab I/O functions (scarab_session_read, scarab_session_write, etc.)

MWKFile:
- Cache codec/reverse_codec

PythonDataBindingsHelpers.cpp:
- Python object to scarab conversion function (convert_python_to_scarab) - Bridge functions to support low-level I/O functions in MWKStream (scarab_session*) - Some modifications adopted from PEP and Official Python Website (e.g., "return Py_None;" to "Py_RETURN_NONE;") https://github.com/mworks-project/mw_datatools/commit/61d3829a0b634...

Committed by Christopher Stawarz

  • M DataFileIndexer/PythonDataBindings.h
  • M DataFileIndexer/PythonDataBindingsHelpers.cpp
  • M DataFileIndexer/PythonDataBindingsHelpers.h
  • M DataFileIndexer/data.py
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

MWorks accessory libraries, build system, etc.