Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"variables": { "library_files": ["lib/cgeohash_obj.js", "lib/cgeohash_fn.js", "lib/cgeohash_obj_speed_tests.js", "lib/cgeohash_fn_speed_tests.js"] },
"conditions": [
[
"OS=='win'",
Expand Down Expand Up @@ -35,12 +36,15 @@
}
]
],
"include_dirs": ["src"],
"sources": [
"bindings.cpp",
"geohash.cpp",
"geohash_node_binding.cpp",
"geohash_node_binding_speed.cpp",
"geohash_obj.cpp"
"src/cgeohash_bindings.cpp",
"src/cgeohash.cpp",
"src/cgeohash_fn.cpp",
"src/cgeohash_fn_repeaters.cpp",
"src/cgeohash_obj.cpp",
"src/cgeohash_obj_repeaters.cpp",
"src/cgeohash_nanoseconds.cpp"
],
"target_name": "cgeohash"
}
Expand Down
15 changes: 0 additions & 15 deletions bindings.cpp

This file was deleted.

44 changes: 0 additions & 44 deletions geohash.hpp

This file was deleted.

18 changes: 0 additions & 18 deletions geohash.js

This file was deleted.

18 changes: 0 additions & 18 deletions geohash_node_binding.hpp

This file was deleted.

116 changes: 0 additions & 116 deletions geohash_node_binding_speed.cpp

This file was deleted.

19 changes: 0 additions & 19 deletions geohash_node_binding_speed.hpp

This file was deleted.

105 changes: 0 additions & 105 deletions geohash_obj.cpp

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions lib/cgeohash_fn.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
var cgeohash = require('../build/Release/cgeohash');

module.exports = {
encode: cgeohash.encode_fn,
decode: cgeohash.decode_fn,
decode_bbox: cgeohash.decode_bbox_fn,
neighbor: cgeohash.neighbor_fn,
};
Loading