mirror of
https://github.com/lovell/sharp.git
synced 2026-02-08 15:46:16 +01:00
Migrate internals to N-API #1282
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#define SRC_METADATA_H_
|
||||
|
||||
#include <string>
|
||||
#include <nan.h>
|
||||
#include <napi.h>
|
||||
|
||||
#include "./common.h"
|
||||
|
||||
@@ -81,6 +81,6 @@ struct MetadataBaton {
|
||||
tifftagPhotoshopLength(0) {}
|
||||
};
|
||||
|
||||
NAN_METHOD(metadata);
|
||||
Napi::Value metadata(const Napi::CallbackInfo& info);
|
||||
|
||||
#endif // SRC_METADATA_H_
|
||||
|
||||
Reference in New Issue
Block a user