| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | move all public headers to include/nng/ folder | Gregor Burger | 2018-11-22 |
| | | | | | | | | | | | This change makes embedding nng + nggpp (or other projects depending on nng) in cmake easier. The header files are moved to a separate include directory. This also makes installation of the headers easier, and allows clearer identification of private vs public heade files. Some additional cleanups were performed by @gedamore, but the main credit for this change belongs with @gregorburger. | ||
| * | fixes #375 integer types are error prone | Garrett D'Amore | 2018-04-26 |
| | | | | | | | | | | | | | | | This change converts the various integer types like nng_socket in the public API to opaque structures that are passed by value. Basically we just wrap the integer ID. This "hack" give us strong type checks by the compiler (yay!), at the expense of not being able to directly use these as numbers (so comparisions for example don't work, and neither does initialization to zero using the normal method. Comparison of disassembly output shows that at least with the optimizer enabled there is no difference in the compiler output between using a structure or an integral value. | ||
| * | fixes #347 Legacy option NN_SNDBUF and NN_RCVBUF in bytes not messages | Garrett D'Amore | 2018-04-25 |
