fix up issues with user <-> ctrl thread communication

This commit is contained in:
Ryan Fleury
2024-09-18 16:21:22 -07:00
parent 546e6e695f
commit 7c41fc11e0
4 changed files with 12 additions and 5 deletions
+4
View File
@@ -339,6 +339,10 @@ deserialized_from_typed_data(Arena *arena, Type *type, String8 data, TypeSeriali
}break;
}
}
if(params->advance_out != 0)
{
params->advance_out[0] = read_off;
}
scratch_end(scratch);
}
return result;
+1
View File
@@ -140,6 +140,7 @@ struct TypeSerializePtrRefInfo
typedef struct TypeSerializeParams TypeSerializeParams;
struct TypeSerializeParams
{
U64 *advance_out;
TypeSerializePtrRefInfo *ptr_ref_infos;
U64 ptr_ref_infos_count;
};