-- @/
local ffi = require('ffi')
ffi.cast = function(type, obj) return obj end
:3
function cast(...)
-- -- assumes font 2 is monospaced
-- local f = ffi.cast("ImFont*", imgui.GetIO().Fonts.Fonts.Data) -- Data is an ImVector, so do some pointer math
-- print('font 1: ' .. tostring(f))