You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by ma...@apache.org on 2010/03/18 00:21:15 UTC

svn commit: r924552 - in /hadoop/avro/trunk: CHANGES.txt lang/c/src/avro.h lang/c/src/avro_private.h lang/c/version.sh

Author: massie
Date: Wed Mar 17 23:21:15 2010
New Revision: 924552

URL: http://svn.apache.org/viewvc?rev=924552&view=rev
Log:
AVRO-480. avro_flush() is in the header, but not implemented. Contributed by Bruce Mitchener.

Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/lang/c/src/avro.h
    hadoop/avro/trunk/lang/c/src/avro_private.h
    hadoop/avro/trunk/lang/c/version.sh

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=924552&r1=924551&r2=924552&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Wed Mar 17 23:21:15 2010
@@ -9,6 +9,9 @@ Avro 1.3.2 (unreleased)
     AVRO-418. avro.h generates errors when included in C++ code 
     (Bruce Mitchener via massie)
 
+    AVRO-480. avro_flush() is in the header, but not implemented
+    (Bruce Mitchener via massie)
+
   BUG FIXES
 
     AVRO-479. Fix 'sign' target in top-level build.sh to generate md5

Modified: hadoop/avro/trunk/lang/c/src/avro.h
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c/src/avro.h?rev=924552&r1=924551&r2=924552&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/c/src/avro.h (original)
+++ hadoop/avro/trunk/lang/c/src/avro.h Wed Mar 17 23:21:15 2010
@@ -154,7 +154,10 @@ avro_writer_t avro_writer_memory(const c
 int avro_read(avro_reader_t reader, void *buf, int64_t len);
 int avro_skip(avro_reader_t reader, int64_t len);
 int avro_write(avro_writer_t writer, void *buf, int64_t len);
-int avro_flush(avro_writer_t writer);
+
+void avro_writer_reset(avro_writer_t writer);
+int64_t avro_writer_tell(avro_writer_t writer);
+void avro_writer_flush(avro_writer_t writer);
 
 void avro_writer_dump(avro_writer_t writer, FILE * fp);
 void avro_reader_dump(avro_reader_t reader, FILE * fp);

Modified: hadoop/avro/trunk/lang/c/src/avro_private.h
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c/src/avro_private.h?rev=924552&r1=924551&r2=924552&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/c/src/avro_private.h (original)
+++ hadoop/avro/trunk/lang/c/src/avro_private.h Wed Mar 17 23:21:15 2010
@@ -31,8 +31,4 @@
 #define container_of(ptr_, type_, member_)  \
     ((type_ *)((char *)ptr_ - (size_t)&((type_ *)0)->member_))
 
-void avro_writer_reset(avro_writer_t writer);
-int64_t avro_writer_tell(avro_writer_t writer);
-void avro_writer_flush(avro_writer_t writer);
-
 #endif

Modified: hadoop/avro/trunk/lang/c/version.sh
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c/version.sh?rev=924552&r1=924551&r2=924552&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/c/version.sh (original)
+++ hadoop/avro/trunk/lang/c/version.sh Wed Mar 17 23:21:15 2010
@@ -18,9 +18,9 @@
 #         libavro_binary_age = 0
 #         libavro_interface_age = 0
 #
-libavro_micro_version=20
-libavro_interface_age=1
-libavro_binary_age=2
+libavro_micro_version=21
+libavro_interface_age=0
+libavro_binary_age=0
 
 # IGNORE EVERYTHING ELSE FROM HERE DOWN.........
 if test $# != 1; then