Skip to content

Commit

Permalink
follow latest string refactor in source-gen script
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Jul 21, 2014
1 parent 1f4ae9d commit 7694ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ucd2c.pl
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ sub emit_property_value_lookup {
sub emit_block_lookup {
my $hout = "MVMint32 MVM_unicode_is_in_block(MVMThreadContext *tc, MVMString *str, MVMint64 pos, MVMString *block);\n";
my $out = "MVMint32 MVM_unicode_is_in_block(MVMThreadContext *tc, MVMString *str, MVMint64 pos, MVMString *block) {
MVMCodepoint32 ord = MVM_string_get_codepoint_at_nocheck(tc, str, pos);
MVMGrapheme32 ord = MVM_string_get_grapheme_at_nocheck(tc, str, pos);
MVMuint64 size;
unsigned char *bname = MVM_string_ascii_encode(tc, block, &size);
";
Expand Down

0 comments on commit 7694ea9

Please sign in to comment.