[Groonga-commit] pgroonga/pgroonga at d92d638 [master] Use GRN_ATTRIBUTE_PRINTF()

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 3 23:52:49 JST 2016


Kouhei Sutou	2016-11-03 23:52:49 +0900 (Thu, 03 Nov 2016)

  New Revision: d92d638f6c97d51c9ee3f2c9853d1a6ca6418a32
  https://github.com/pgroonga/pgroonga/commit/d92d638f6c97d51c9ee3f2c9853d1a6ca6418a32

  Message:
    Use GRN_ATTRIBUTE_PRINTF()
    
    Because PostgreSQL 9.4 or earlier doesn't have pg_attribute_pritnf().

  Modified files:
    src/pgrn_groonga.h

  Modified: src/pgrn_groonga.h (+1 -1)
===================================================================
--- src/pgrn_groonga.h    2016-11-03 23:44:40 +0900 (1211c9c)
+++ src/pgrn_groonga.h    2016-11-03 23:52:49 +0900 (5227a9d)
@@ -13,7 +13,7 @@ const char *PGrnInspect(grn_obj *object);
 
 int PGrnRCToPgErrorCode(grn_rc rc);
 grn_bool PGrnCheck(const char *format,
-				   ...) pg_attribute_printf(1, 2);
+				   ...) GRN_ATTRIBUTE_PRINTF(1);
 
 grn_obj *PGrnLookup(const char *name, int errorLevel);
 grn_obj *PGrnLookupWithSize(const char *name,
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index