apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45857] New: Possible mistake in doc for APR_DECLARE_DATA documentation?
Date Mon, 22 Sep 2008 06:19:56 GMT

           Summary: Possible mistake in doc for APR_DECLARE_DATA
           Product: APR
           Version: HEAD
          Platform: All
               URL: http:////apr.apache.org/docs/apr/1.3/group__apr__platfor
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: jonathan.leffler@gmail.com

At:   http://apr.apache.org/docs/apr/1.3/group__apr__platform.html

The Doxygen documentation says:


The public APR variables are declared with AP_MODULE_DECLARE_DATA. This assures
the appropriate indirection is invoked at compile time.

See also:


    Note that the declaration and implementations use different forms, but both
must include the macro.

 extern APR_DECLARE_DATA type apr_variable;

 APR_DECLARE_DATA type apr_variable = value;

I suspect that the reference to AP_MODULE_DECLARE_DATA is a relic from a
previous naming convention.  It certainly is confusing if that is not the
explanation, since the examples then do not tie up with text.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message