Cheng Zhao
|
9145a08395
|
Fix compilation error with node 0.10.
|
2014-08-10 11:20:41 +08:00 |
|
Cheng Zhao
|
14c851e9f8
|
Reset handle in weak callback.
This doesn't seem to be neccesary, but we had better follow what upstream does.
|
2014-07-18 09:37:07 +08:00 |
|
Cheng Zhao
|
c79aecf64d
|
Call object._init if we have one.
|
2014-05-27 08:47:06 +08:00 |
|
Cheng Zhao
|
f033e23ea3
|
No need to reset wrapper_ when we would run destructor.
|
2014-04-23 12:29:22 +08:00 |
|
Cheng Zhao
|
3d219b4be6
|
Do not wrap an object when it's already wrapped.
|
2014-04-22 15:57:23 +08:00 |
|
Cheng Zhao
|
ace550d6b2
|
Simplify Wrappable API.
|
2014-04-16 11:58:17 +08:00 |
|
Cheng Zhao
|
ac5be7dad7
|
Constructor should wrap the this pointer.
|
2014-04-16 10:36:54 +08:00 |
|
Cheng Zhao
|
e2e1faa225
|
Make the Constructor accept arbitrary callback.
|
2014-04-16 09:50:51 +08:00 |
|
Cheng Zhao
|
ff65b7dae1
|
Initial commit.
|
2014-04-15 11:04:36 +08:00 |
|