mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
use meta.FnPtr to prep for stage2
This commit is contained in:
@ -77,7 +77,7 @@ pub const Blob = struct {
|
|||||||
comptime T: type,
|
comptime T: type,
|
||||||
key: ?*anyopaque,
|
key: ?*anyopaque,
|
||||||
ptr: ?*T,
|
ptr: ?*T,
|
||||||
comptime destroycb: ?fn (?*T) callconv(.C) void,
|
comptime destroycb: ?std.meta.FnPtr(fn (?*T) callconv(.C) void),
|
||||||
replace: bool,
|
replace: bool,
|
||||||
) bool {
|
) bool {
|
||||||
const Callback = struct {
|
const Callback = struct {
|
||||||
|
Reference in New Issue
Block a user