From 1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 19 Feb 2021 11:51:31 +0800 Subject: rename lib class name --- meta/template/ffi.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/template/ffi.lua') diff --git a/meta/template/ffi.lua b/meta/template/ffi.lua index 8e7137e4..e3a09ea1 100644 --- a/meta/template/ffi.lua +++ b/meta/template/ffi.lua @@ -14,12 +14,14 @@ local cb ---@class ffi.VLS*: userdata ---@version JIT ----@class ffi* +---@class ffilib ---@field C ffi.namespace* ---@field os string ---@field arch string local ffi = {} +---@alias ffi* ffilib + ---@param def string function ffi.cdef(def) end -- cgit v1.2.3