Comparing version 0.0.13 to 0.0.14
0.0.14 / 2012-05-31 | ||
=================== | ||
- fix possible segmentation fault with `readCString()` | ||
0.0.13 / 2012-05-30 | ||
@@ -3,0 +8,0 @@ =================== |
@@ -19,3 +19,3 @@ { "name": "ref" | ||
] | ||
, "version": "0.0.13" | ||
, "version": "0.0.14" | ||
, "author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)" | ||
@@ -22,0 +22,0 @@ , "repository": { "type": "git", "url": "git://github.com/TooTallNate/ref.git" } |
@@ -262,3 +262,3 @@ ref | ||
| `set` | Function (buffer, offset, value) | The function to invoke when setting a value to a buffer instance. | ||
| `alignment` | Number | _(optional)_ The alignment of this type when placed in a struct. | ||
| `alignment` | Number | _(optional)_ The alignment of this type when placed in a struct. Defaults to the type's `size`. | ||
@@ -265,0 +265,0 @@ For example, you could define a "bigint" type that dereferences into a |
@@ -19,2 +19,6 @@ | ||
it('should return `null` when reading a NULL pointer', function () { | ||
assert.strictEqual(null, ref.NULL.readCString()) | ||
}) | ||
}) | ||
@@ -21,0 +25,0 @@ |
Sorry, the diff of this file is not supported yet
69859
999