Introduce AXIS2_INTERNAL macro for use with non-static functions that are not exported from shared library ----------------------------------------------------------------------------------------------------------
Key: AXIS2C-264 URL: http://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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]