Skip to content

Commit

Permalink
Add comment about string encoding. (nodejs#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhinkel authored and jasongin committed Jan 26, 2017
1 parent d451abe commit b7244cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/node_jsvmapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ NODE_EXTERN int64_t napi_get_value_int64(napi_env e, napi_value v);
NODE_EXTERN bool napi_get_value_bool(napi_env e, napi_value v);

NODE_EXTERN int napi_get_string_length(napi_env e, napi_value v);

// Do we need utf16 as well?
NODE_EXTERN int napi_get_string_utf8_length(napi_env e, napi_value v);
NODE_EXTERN int napi_get_string_utf8(napi_env e, napi_value v,
char* buf, int bufsize);
Expand Down

0 comments on commit b7244cb

Please sign in to comment.