use meta.FnPtr to prep for stage2

This commit is contained in:
Mitchell Hashimoto
2022-09-23 13:20:43 -07:00
parent 3bd9ed5952
commit 53f5739eca

View File

@ -77,7 +77,7 @@ pub const Blob = struct {
comptime T: type,
key: ?*anyopaque,
ptr: ?*T,
comptime destroycb: ?fn (?*T) callconv(.C) void,
comptime destroycb: ?std.meta.FnPtr(fn (?*T) callconv(.C) void),
replace: bool,
) bool {
const Callback = struct {