[Pcre-svn] [207] code/trunk: Fix DECL/DEFN typo that affects…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [207] code/trunk: Fix DECL/DEFN typo that affects Windows.
Revision: 207
          http://www.exim.org/viewvc/pcre2?view=rev&revision=207
Author:   ph10
Date:     2015-02-24 14:21:28 +0000 (Tue, 24 Feb 2015)


Log Message:
-----------
Fix DECL/DEFN typo that affects Windows.

Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/src/pcre2_serialize.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2015-02-24 12:35:28 UTC (rev 206)
+++ code/trunk/ChangeLog    2015-02-24 14:21:28 UTC (rev 207)
@@ -87,7 +87,10 @@
 was selected. (2) The file src/pcre2_serialize.c had not been added to the list 
 of PCRE2 sources, which caused a failure to build pcre2test.


+18. Fixed typo in pcre2_serialize.c (DECL instead of DEFN) that causes problems
+only on Windows.

+
Version 10.00 05-January-2015
-----------------------------


Modified: code/trunk/src/pcre2_serialize.c
===================================================================
--- code/trunk/src/pcre2_serialize.c    2015-02-24 12:35:28 UTC (rev 206)
+++ code/trunk/src/pcre2_serialize.c    2015-02-24 14:21:28 UTC (rev 207)
@@ -68,7 +68,7 @@
 *           Serialize compiled patterns          *
 *************************************************/


-PCRE2_EXP_DECL int32_t PCRE2_CALL_CONVENTION
+PCRE2_EXP_DEFN int32_t PCRE2_CALL_CONVENTION
 pcre2_serialize_encode(const pcre2_code **codes, int32_t number_of_codes,
    uint8_t **serialized_bytes, PCRE2_SIZE *serialized_size,
    pcre2_general_context *gcontext)
@@ -141,7 +141,7 @@
 *          Deserialize compiled patterns         *
 *************************************************/


-PCRE2_EXP_DECL int32_t PCRE2_CALL_CONVENTION
+PCRE2_EXP_DEFN int32_t PCRE2_CALL_CONVENTION
 pcre2_serialize_decode(pcre2_code **codes, int32_t number_of_codes,
    const uint8_t *bytes, pcre2_general_context *gcontext)
 {
@@ -227,7 +227,7 @@
 *    Get the number of serialized patterns       *
 *************************************************/


-PCRE2_EXP_DECL int32_t PCRE2_CALL_CONVENTION
+PCRE2_EXP_DEFN int32_t PCRE2_CALL_CONVENTION
 pcre2_serialize_get_number_of_codes(const uint8_t *bytes)
 {
 const pcre2_serialized_data *data = (const pcre2_serialized_data *)bytes;
@@ -245,7 +245,7 @@
 *            Free the allocated stream           *
 *************************************************/


-PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION
+PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION
pcre2_serialize_free(uint8_t *bytes)
{
if (bytes != NULL)