Annotation of gpl/axl/src/axl_config_win32.h, revision 1.1

1.1     ! misho       1: /*
        !             2:  * Axl Library axl_config.h
        !             3:  * Platform dependant definitions for Win32 platform.
        !             4:  *
        !             5:  * This file is maintained manually for those people that do not
        !             6:  * compile axl using autoconf. It should look really similar to
        !             7:  * axl_config.h file created on a i386 linux platform but changing
        !             8:  * AXL_OS_UNIX to AXL_OS_WIN32 (at least for now).
        !             9:  *
        !            10:  *  For commercial support on build XML enabled solutions contact us:
        !            11:  *          
        !            12:  *      Postal address:
        !            13:  *         Advanced Software Production Line, S.L.
        !            14:  *         Edificio Alius A, Oficina 102,
        !            15:  *         C/ Antonio Suarez Nº 10,
        !            16:  *         Alcalá de Henares 28802 Madrid
        !            17:  *         Spain
        !            18:  *
        !            19:  *      Email address:
        !            20:  *         info@aspl.es - http://www.aspl.es/xml
        !            21:  *
        !            22:  */
        !            23: 
        !            24: #ifndef __AXL_CONFIG_H__
        !            25: #define __AXL_CONFIG_H__
        !            26: 
        !            27: /**
        !            28:  * \addtogroup axl_decl_module
        !            29:  * @{
        !            30:  */
        !            31: 
        !            32: /**
        !            33:  * @brief Allows to convert integer value (including constant values)
        !            34:  * into a pointer representation.
        !            35:  *
        !            36:  * Use the oposite function to restore the value from a pointer to a
        !            37:  * integer: \ref PTR_TO_INT.
        !            38:  *
        !            39:  * @param integer The integer value to cast to pointer.
        !            40:  *
        !            41:  * @return A \ref axlPointer reference.
        !            42:  */
        !            43: #define INT_TO_PTR(integer) ((axlPointer)  (integer))
        !            44: 
        !            45: /**
        !            46:  * @brief Allows to convert a pointer reference (\ref axlPointer),
        !            47:  * which stores an integer that was stored using \ref INT_TO_PTR.
        !            48:  *
        !            49:  * Use the oposite function to restore the pointer value stored in the
        !            50:  * integer value.
        !            51:  *
        !            52:  * @param ptr The pointer to cast to a integer value.
        !            53:  *
        !            54:  * @return A int value.
        !            55:  */
        !            56: #define PTR_TO_INT(ptr) ((int)  (ptr))
        !            57: 
        !            58: /**
        !            59:  * @brief Allows to get current platform configuration. This is used
        !            60:  * by Axl library but could be used by applications built on top of
        !            61:  * Axl to change its configuration based on the platform information.
        !            62:  */
        !            63: #define AXL_OS_WIN32 (1)
        !            64: 
        !            65: /* @} */
        !            66: 
        !            67: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>