Skip to content
  • Lyude Paul's avatar
    panwrap: Add PANWRAP_PTR macro · 2f0bac87
    Lyude Paul authored
    Shorthand helper for panwrap_deref_gpu_mem, takes type of variable
    instead of size allowing for more creative uses:
    
    	*PANWRAP_PTR(mem, foo_ptr, struct bar)->baz = 1;
    2f0bac87