gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, extgawk, updated. 88f8278587c7f254d4c5bb


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, extgawk, updated. 88f8278587c7f254d4c5bb2e8f996f3947da32e9
Date: Sun, 12 Aug 2012 08:01:21 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, extgawk has been updated
       via  88f8278587c7f254d4c5bb2e8f996f3947da32e9 (commit)
      from  8d5a66b529a220239037a3cd7a2421aab85de53d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=88f8278587c7f254d4c5bb2e8f996f3947da32e9

commit 88f8278587c7f254d4c5bb2e8f996f3947da32e9
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Aug 12 11:00:42 2012 +0300

    Make api versions into enum, not defines.

diff --git a/ChangeLog b/ChangeLog
index d75c82e..dd0dad2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-12         Arnold D. Robbins     <address@hidden>
+
+       * gawkapi.h: Make the versions enum constants instead of defines.
+
 2012-08-11         Andrew J. Schorr     <address@hidden>
 
        * awkgram.y (add_srcfile): It is now a fatal error to load the
diff --git a/gawkapi.h b/gawkapi.h
index b516787..9b89e42 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -121,7 +121,7 @@ typedef struct iobuf_public {
         * not returned, the parser must set *rt_len (and *rt_start if *rt_len
         * is non-zero).
         */
-       int (*get_record)(char **out, struct iobuf_public *, int *errcode,
+       int (*get_record)(char **out, struct iobuf_public *iobuf, int *errcode,
                        char **rt_start, size_t *rt_len);
        /*
         * The close_func is called to allow the parser to free private data.
@@ -154,8 +154,10 @@ typedef struct input_parser {
 } awk_input_parser_t;
 
 
-#define GAWK_API_MAJOR_VERSION 0
-#define GAWK_API_MINOR_VERSION 0
+enum {
+       GAWK_API_MAJOR_VERSION = 0,
+       GAWK_API_MINOR_VERSION = 0
+};
 
 #define DO_FLAGS_SIZE  6
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    4 ++++
 gawkapi.h |    8 +++++---
 2 files changed, 9 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]