#*anyopaque to *const fn(*anyopaque)
1 messages · Page 1 of 1 (latest)
Hey thanks for the response, what would the syntax be for either of these? I was messing around with ptrCast earlier but I couldn't figure it out
CreateThread(null, 0, @ptrCast(@alignCast(executable_memory_space)), null, 0, null);
they infer their result based on the location they're at
error: expected error union type, found '?*anyopaque'
CreateThread doesn't return an error union, you can't try it
Ah, right