diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-10 22:53:31 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-10 22:53:31 -0700 |
| commit | 19e0363f3e710fcb26f7e3404f2647ec60233824 (patch) | |
| tree | 6a779f89405085bafc862587fd3d2ff69cb20d66 | |
| parent | 7cb95b18537648ea8104bea80aa9f458d4ed8df3 (diff) | |
| download | nng-19e0363f3e710fcb26f7e3404f2647ec60233824.tar.gz nng-19e0363f3e710fcb26f7e3404f2647ec60233824.tar.bz2 nng-19e0363f3e710fcb26f7e3404f2647ec60233824.zip | |
Constructors missing from Windows DLLs.
| -rw-r--r-- | src/nng.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -323,17 +323,17 @@ enum nng_proto_enum { }; // Builtin protocol socket constructors. -extern int nng_bus0_open(nng_socket *); -extern int nng_pair0_open(nng_socket *); -extern int nng_pair1_open(nng_socket *); -extern int nng_pub0_open(nng_socket *); -extern int nng_sub0_open(nng_socket *); -extern int nng_push0_open(nng_socket *); -extern int nng_pull0_open(nng_socket *); -extern int nng_req0_open(nng_socket *); -extern int nng_rep0_open(nng_socket *); -extern int nng_surveyor0_open(nng_socket *); -extern int nng_respondent0_open(nng_socket *); +NNG_DECL int nng_bus0_open(nng_socket *); +NNG_DECL int nng_pair0_open(nng_socket *); +NNG_DECL int nng_pair1_open(nng_socket *); +NNG_DECL int nng_pub0_open(nng_socket *); +NNG_DECL int nng_sub0_open(nng_socket *); +NNG_DECL int nng_push0_open(nng_socket *); +NNG_DECL int nng_pull0_open(nng_socket *); +NNG_DECL int nng_req0_open(nng_socket *); +NNG_DECL int nng_rep0_open(nng_socket *); +NNG_DECL int nng_surveyor0_open(nng_socket *); +NNG_DECL int nng_respondent0_open(nng_socket *); // Default versions. These provide compile time defaults; note that // the actual protocols are baked into the binary; this should avoid |
