Go to the source code of this file.
| int marshal_EVEMarshalTest |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 28 of file EVEMarshalTest.cpp.
References DBRowDescriptor::AddColumn(), DBTYPE_CY, DBTYPE_FILETIME, DBTYPE_I4, DBTYPE_I8, PyRep::Dump(), InflateUnmarshal(), MarshalDeflate(), CRowSet::NewRow(), PyDecRef, PyPackedRow::SetField(), and Win32TimeNow().
49 ::puts(
"Marshaling..." );
57 ::puts(
"Failed to marshal Python object." );
61 ::puts(
"Unmarshaling..." );
66 ::puts(
"Failed to unmarshal Python object." );
71 rep->
Dump( stdout,
" " );
bool MarshalDeflate(const PyRep *rep, Buffer &into, const uint32 deflationLimit)
PyRep * InflateUnmarshal(const Buffer &data)
Turns possibly inflated marshal stream into Python object.
void AddColumn(const char *name, DBTYPE type)
void Dump(FILE *into, const char *pfx) const
Dumps object to file.
Generic class for buffers.
Python object "blue.DBRowDescriptor".
Python object "dbutil.CRowset".
bool SetField(uint32 index, PyRep *value)