correct the name of the size() exposed function

This commit is contained in:
Folkert 2023-02-25 19:43:31 +01:00
parent 454f3c603e
commit fa05c49693
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 5 additions and 5 deletions

View file

@ -4153,7 +4153,7 @@ fn expose_function_to_host_help_c_abi<'a, 'ctx, 'env>(
Some(env.context.i64_type().as_basic_type_enum()),
&[],
);
let size_function_name: String = format!("roc__{}_size", c_function_name);
let size_function_name: String = format!("{}_size", c_function_name);
let size_function = add_func(
env.context,