Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Dec 26, 2024
1 parent 616b8f1 commit 64fdc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quickjsr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ extern "C" {

const char* json = Rf_translateCharUTF8(STRING_ELT(json_, 0));
JSValue result = JS_ParseJSON(ctx, json, strlen(json), "<input>");
cpp11::sexp rtn quickjsr::JSValue_to_SEXP(ctx, result);
cpp11::sexp rtn = quickjsr::JSValue_to_SEXP(ctx, result);

JS_FreeValue(ctx, result);
JS_FreeContext(ctx);
Expand Down

0 comments on commit 64fdc71

Please sign in to comment.