/[Apache-SVN]
ViewVC logotype

Revision 1070941


Jump to revision: Previous Next
Author: dcreager
Date: Tue Feb 15 15:40:18 2011 UTC (13 years, 2 months ago)
Changed paths: 3
Log Message:
AVRO-744. C: Helper macros for extracting and setting record field values

This patch adds two helper macros that can be used to extract or set the
value of a record field using fewer function calls.  It wraps a call to
avro_record_get, which extracts the avro_datum_t instance for the field,
and a call to avro_XXX_get or avro_XXX_set on the field datum.


Changed paths

Path Details
Directoryavro/trunk/CHANGES.txt modified , text changed
Directoryavro/trunk/lang/c/src/avro.h modified , text changed
Directoryavro/trunk/lang/c/tests/test_avro_data.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26