You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2008/04/24 14:27:21 UTC

[jira] Resolved: (AXIS2C-264) Introduce AXIS2_INTERNAL macro for use with non-static functions that are not exported from shared library

     [ https://issues.apache.org/jira/browse/AXIS2C-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe resolved AXIS2C-264.
--------------------------------------

    Resolution: Won't Fix

This suggestion should be revisited for 2.x family, but not for the current phase of develpment

> Introduce AXIS2_INTERNAL macro for use with non-static functions that are not exported from shared library
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-264
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-264
>             Project: Axis2-C
>          Issue Type: Improvement
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>            Priority: Minor
>
> I would recommend introducing an AXIS2_INTERNAL macro and using it in a similar way to AXIS2_EXTERN for every function that is not AXIS2_EXTERN and not static.  In other words, every function would be declared as either AXIS2_EXTERN, AXIS2_INTERNAL or static.  On Windows, this would map onto nothing (I think), but on Linux with gcc it would map onto __attribute__((visibility("hidden")).  This allows gcc to generate better code.  For more information, see
>   http://people.redhat.com/drepper/dsohowto.pdf
>   http://www.nedprod.com/programs/gccvisibility.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org