[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    svn commit: r1902285 - /apr/apr/trunk/test/testencode.c
From:       ylavic () apache ! org
Date:       2022-06-27 17:59:43
Message-ID: 20220627180127.8F8E717A8D8 () svn01-us-east ! apache ! org
[Download RAW message or body]

Author: ylavic
Date: Mon Jun 27 18:01:27 2022
New Revision: 1902285

URL: http://svn.apache.org/viewvc?rev=1902285&view=rev
Log:
testencode: Follow up to r1902281: Correct call convention for encdec_fn (try 2).


Modified:
    apr/apr/trunk/test/testencode.c

Modified: apr/apr/trunk/test/testencode.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testencode.c?rev=1902285&r1=1902284&r2=1902285&view=diff
 ==============================================================================
--- apr/apr/trunk/test/testencode.c (original)
+++ apr/apr/trunk/test/testencode.c Mon Jun 27 18:01:27 2022
@@ -905,7 +905,11 @@ static void test_decode_base16_binary(ab
     apr_pool_destroy(pool);
 }
 
-typedef APR_DECLARE(apr_status_t) (*encdec_fn)(char*, const char*, apr_ssize_t, int, \
apr_size_t*); +#ifdef WIN32
+typedef apr_status_t (__stdcall *encdec_fn)(char*, const char*, apr_ssize_t, int, \
apr_size_t*); +#else
+typedef apr_status_t (*encdec_fn)(char*, const char*, apr_ssize_t, int, \
apr_size_t*); +#endif
 
 static void test_encode_errors(abts_case * tc, void *data)
 {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic