You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2008/09/22 08:19:56 UTC

DO NOT REPLY [Bug 45857] New: Possible mistake in doc for APR_DECLARE_DATA documentation?

https://issues.apache.org/bugzilla/show_bug.cgi?id=45857

           Summary: Possible mistake in doc for APR_DECLARE_DATA
                    documentation?
           Product: APR
           Version: HEAD
          Platform: All
               URL: http:////apr.apache.org/docs/apr/1.3/group__apr__platfor
                    m.html
        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:

#define APR_DECLARE_DATA

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

See also:
    APR_DECLARE

    APR_DECLARE_NONSTD

Remarks:
    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


DO NOT REPLY [Bug 45857] Possible mistake in doc for APR_DECLARE_DATA documentation?

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45857


Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Jeff Trawick <tr...@apache.org>  2009-04-23 04:56:54 PST ---
fixed in trunk; thanks!

-- 
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