Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const GetCurrentFiber = @compileError ("unable to translate function");
- pub const NtCurrentTeb = @compileError("unable to translate function"); // C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\..\um\winnt.h:22643:19: warning: TODO implement translation of CastKind BuiltinFnToFnPtr
- pub const GetCurrentFiber = @compileError("unable to translate function");
- pub fn GetFiberData() callconv(.C) PVOID {
- return @ptrCast([*c]PVOID, @alignCast(@alignOf(PVOID), GetCurrentFiber())).?.*;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement