Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. const GetCurrentFiber = @compileError ("unable to translate function");
  2. 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
  3. pub const GetCurrentFiber = @compileError("unable to translate function");
  4. pub fn GetFiberData() callconv(.C) PVOID {
  5. return @ptrCast([*c]PVOID, @alignCast(@alignOf(PVOID), GetCurrentFiber())).?.*;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement