import t, c from fltk._types import * # ============================================================ # fltk/_cfl_utils.vp — cfl_utils.h 的 extern FFI 声明(对接 cfltk C API) # ============================================================ # 所有函数直接对应 cfltk 生成的 C 符号(extern "C"),链接目标: cfltk2。 # 类型约定: Fl_* 对象均为不透明指针 (Fl_XxxPtr);const char* → str; # 函数指针/void* → bytes(Viper 端传 0/NULL 或不使用)。 extern def Fl_filename_expand(out: str, len_: int, in_: str) -> int extern def Fl_type_name(w: bytes) -> str extern def Fl_open_uri(uri: str, msg: str, msglen: int) -> int extern def Fl_decode_uri(uri: str)