Refactored async resolver code flow

Removed unused macros.
Also, moved all private stuff to modules/internal.h
Things like NS_INTERNAL should not be visible in public fossa.h

On Wed, Dec 10, 2014 at 2:04 PM, Marko Mikulicic <notifications@github.com>
wrote:

> In modules/internal.h
> <https://github.com/cesanta/fossa/pull/178#discussion-diff-21604317>:
>
> > @@ -24,4 +24,9 @@
> >  #define NS_FREE free
> >  #endif
> >
> > +#define NS_SET_PTRPTR(_ptr, _v) do { if (_ptr) *(_ptr) = _v; } while (0)
> > +
> > +#define _NS_TO_STR(x) #x
> > +#define NS_STRINGIFY_NUMERIC_DEFINE(x) _NS_TO_STR(x)
>
> Dead code?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cesanta/fossa/pull/178/files#r21604317>.
>