[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ITS#578: prototype macros
Steve,
I think we also need a LIBLBER_FD macro without the extern...
For NT:
#define LIBLBER_F(type) extern __declspec(LIBLBER_DECL) type LIBCALL
#define LIBLBER_F(type) __declspec(LIBLBER_DECL) type LIBCALL
#define LIBLBER_V(type) extern __declspec(LIBLBER_DECL) type
#define LIBLBER_VD(type) __declspec(LIBLBER_DECL) type
Otherwise:
#define LIBLBER_F(type) extern type LIBCALL /* func */
#define LIBLBER_F(type) type LIBCALL /* declar func in c file */
#define LIBLBER_V(type) extern type /* variable */
#define LIBLBER_VD(type) type /* declare var in c file */
Also, s/LIBCALL/LDAP_LIBCALL/g
and we should separately s/LIBL(BER|DAP)_/\1_/g
Comments?
Kurt