Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created March 18, 2017 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasterDuke17/80bcdafc504582fafe09bb915c563c8d to your computer and use it in GitHub Desktop.
Save MasterDuke17/80bcdafc504582fafe09bb915c563c8d to your computer and use it in GitHub Desktop.
case MVM_STRING_GRAPHEME_8: {
MVMint64 pgraphs = MVM_string_graphs(tc, piece);
memcpy(
result->body.storage.blob_8 + position,
piece->body.storage.blob_8,
pgraphs * sizeof(MVMGrapheme8));
position += pgraphs;
break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment