NAN 1.5 WIP

This branch will become NAN 1.5.
Added Asyncworker #207 and new NanNew #210. Needs more testing with actual addons.
Now split into many files. Seems to work so far. Good news for nauv.h
Lol. You’re right. Keyword public is not needed. It was me who added them, though. What a waste! m)

@kkoopa, want a PR on onepointfive or do you prefer to throw them out yourself?

On 08.11.2014, at 18:21, Mathias <notifications@github.com> wrote:

> In nan_new.h:
> 
> > +struct Factory<v8::BooleanObject> : public FactoryBase<v8::BooleanObject> {
> > +  static inline return_t New(bool value);
> > +};
> > +
> > +template <>
> > +struct Factory<v8::Date> : public FactoryBase<v8::Date> {
> > +  static inline return_t New(double value);
> > +};
> > +
> > +template <>
> > +struct Factory<v8::External> : public FactoryBase<v8::External> {
> > +  static inline return_t New(void *value);
> > +};
> > +
> > +template <>
> > +class Factory<v8::FunctionTemplate> : public FactoryBase<v8::FunctionTemplate> {
> 
> Ok, but can yu still explain me why not just do
> struct Factory<v8::FunctionTemplate> : FactoryBase<v8::FunctionTemplate> {
> instead of 
> struct Factory<v8::FunctionTemplate> : public FactoryBase<v8::FunctionTemplate> {
> Is the explicitness a style thing?
> 
> —
> Reply to this email directly or view it on GitHub.
>