-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C extension (speeds up simpleion dump/load)
- Loading branch information
Showing
11 changed files
with
2,126 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef _IONCMODULE_H_ | ||
#define _IONCMODULE_H_ | ||
|
||
#include "structmember.h" | ||
#include "decimal128.h" | ||
#include "ion.h" | ||
|
||
PyObject* ionc_init_module(void); | ||
iERR ionc_write_value(hWRITER writer, PyObject* obj, PyObject* tuple_as_sexp); | ||
PyObject* ionc_read(PyObject* self, PyObject *args, PyObject *kwds); | ||
iERR ionc_read_all(hREADER hreader, PyObject* container, BOOL in_struct, BOOL emit_bare_values); | ||
iERR ionc_read_value(hREADER hreader, ION_TYPE t, PyObject* container, BOOL in_struct, BOOL emit_bare_values); | ||
|
||
iERR _ion_writer_write_symbol_id_helper(ION_WRITER *pwriter, SID value); | ||
iERR _ion_writer_add_annotation_sid_helper(ION_WRITER *pwriter, SID sid); | ||
iERR _ion_writer_write_field_sid_helper(ION_WRITER *pwriter, SID sid); | ||
ION_API_EXPORT void ion_helper_breakpoint(void); | ||
|
||
#endif |
Oops, something went wrong.