-
-
Save hansihe/d74288761cbc4fcb95f42b2f3c25176b to your computer and use it in GitHub Desktop.
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
{ | |
"types": { | |
"test_type": "i8", | |
}, | |
} |
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
function(native_types) { | |
return { | |
test_type: { | |
write: function(buf, val) { // What kinda what should it write to? | |
native_types["i8"]["write"](buf, val); | |
}, | |
read: function(buf, val) { // What kinda what should it read from? | |
return native_types["i8"]["read"](buf, val); | |
}, | |
}, | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment