GE Lua Documentation

Press F to search!

cdef

Definition


-- @/=[C]:-1
function cdef(...)

Callers

@/lua/ge/extensions/tech/capturePlayer.lua

  ffi.cdef([[
  struct radar_return_t {
@/lua/common/cdefImgui.lua
if ffi then
  ffi.cdef("int ImGuiInputTextCallbackLua(const void* data);")
end
@/lua/vehicle/protocols.lua
  if not definedStructs[protocol.name] then
    ffi.cdef("typedef struct "..protocol.structName.." {\n"..protocol.module.getStructDefinition().."} "..protocol.structName..";")
    definedStructs[protocol.name] = true