-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
format code
- Loading branch information
xVan Turing
authored and
xVan Turing
committed
Feb 14, 2019
1 parent
afa41f6
commit ab07d17
Showing
6 changed files
with
19 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule color-quant
updated
22 files
+5 −3 | .gitignore | |
+1 −0 | CMakeLists.txt | |
+7 −6 | README.md | |
+3 −2 | TODO.md | |
+4 −3 | appveyor.yml | |
+1 −1 | heap | |
+0 −0 | script/LICENSE | |
+0 −0 | script/README.md | |
+ − | script/image.jpg | |
+ − | script/image.png | |
+0 −1 | script/index.js | |
+0 −0 | script/package-lock.json | |
+0 −0 | script/package.json | |
+0 −0 | script/yarn.lock | |
+339 −336 | src/colorquant.c | |
+11 −11 | src/colorquant.h | |
+35 −34 | src/pix.c | |
+28 −22 | src/pix.h | |
+64 −65 | src/vbox.c | |
+17 −18 | src/vbox.h | |
+19 −18 | test/CMakeLists.txt | |
+66 −72 | test/main.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#include <napi.h> | ||
#include <iostream> | ||
#include "colorquant.h" | ||
#include "async.h" | ||
#include "colorquant.h" | ||
#include <iostream> | ||
#include <napi.h> | ||
Napi::Object Init(Napi::Env env, Napi::Object exports) { | ||
exports.Set(Napi::String::New(env, "PaletteAsync"), | ||
Napi::Function::New(env, PaletteAsync)); | ||
return exports; | ||
exports.Set(Napi::String::New(env, "PaletteAsync"), | ||
Napi::Function::New(env, PaletteAsync)); | ||
return exports; | ||
} | ||
NODE_API_MODULE(cquant, Init) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters