Handle<Value> PDFRealDriver::New(const Arguments& args)
{
    HandleScope scope;
    
    PDFRealDriver* driver = new PDFRealDriver();
    driver->Wrap(args.This());
    return args.This();
}
Exemple #2
0
METHOD_RETURN_TYPE PDFRealDriver::New(const ARGS_TYPE& args)
{
    CREATE_ISOLATE_CONTEXT;
	CREATE_ESCAPABLE_SCOPE;
    EXPOSE_EXTERNAL_ARGS(ConstructorsHolder, externalHolder)
    PDFRealDriver* driver = new PDFRealDriver();
	driver->holder = externalHolder;
    driver->Wrap(args.This());
	SET_FUNCTION_RETURN_VALUE( args.This())
}