httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/include ap_config.h
Date Wed, 11 Oct 2000 08:32:51 GMT
[ this was sent to 'httpd-docs-2.0-cvs@apache.org' ... what's up with
  that... OtherBill: check your CVS working copy for wonkiness... ]


Not necessarily a debate here :-) ... but what is the difference between
API_EXPORT and MODULE_EXPORT? And API_VAR_EXPORT and MODULE_VAR_EXPORT?

They all look the same to me.

Can we possibly convert to a single form and grandfather the older ones?

e.g. AP_EXPORT(type), AP_EXPORT_NONSTD(type), AP_EXPORT_VAR

??

Cheers,
-g

p.s. and yes: a variety that defines custom linkage for modules that export
more symbols to other modules... but that is step 2 :-)

On Wed, Oct 11, 2000 at 07:52:10AM -0000, wrowe@locus.apache.org wrote:
> wrowe       00/10/11 00:52:10
> 
>   Modified:    src/include ap_config.h
>   Log:
>     This much, at least, we don't need to debate.
>   
>   Revision  Changes    Path
>   1.42      +4 -0      apache-2.0/src/include/ap_config.h
>   
>   Index: ap_config.h
>   ===================================================================
>   RCS file: /home/cvs/apache-2.0/src/include/ap_config.h,v
>   retrieving revision 1.41
>   retrieving revision 1.42
>   diff -u -r1.41 -r1.42
>   --- ap_config.h	2000/08/06 06:07:01	1.41
>   +++ ap_config.h	2000/10/11 07:52:09	1.42
>   @@ -70,21 +70,25 @@
>    #define API_EXPORT(type)        type
>    #define API_EXPORT_NONSTD(type) type
>    #define API_VAR_EXPORT
>   +#define MODULE_EXPORT(type)     type
>    #define MODULE_VAR_EXPORT
>    #elif defined(API_STATIC)
>    #define API_EXPORT(type)        type __stdcall
>    #define API_EXPORT_NONSTD(type) type
>    #define API_VAR_EXPORT
>   +#define MODULE_EXPORT(type)     type __stdcall
>    #define MODULE_VAR_EXPORT
>    #elif defined(API_EXPORT_SYMBOLS)
>    #define API_EXPORT(type)        __declspec(dllexport) type __stdcall
>    #define API_EXPORT_NONSTD(type) __declspec(dllexport) type
>    #define API_VAR_EXPORT		__declspec(dllexport)
>   +#define MODULE_EXPORT(type)     __declspec(dllexport) type __stdcall
>    #define MODULE_VAR_EXPORT       __declspec(dllexport)
>    #else
>    #define API_EXPORT(type)        __declspec(dllimport) type __stdcall
>    #define API_EXPORT_NONSTD(type) __declspec(dllimport) type
>    #define API_VAR_EXPORT		__declspec(dllimport)
>   +#define MODULE_EXPORT(type)     __declspec(dllexport) type __stdcall
>    #define MODULE_VAR_EXPORT       __declspec(dllexport)
>    #endif
>    
>   
>   
>   

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message