freetype: update to latest Zig API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e5aa205340
commit
beb93ec893
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ pub const Outline = struct {
|
||||||
callbacks: Funcs(Context),
|
callbacks: Funcs(Context),
|
||||||
|
|
||||||
fn getSelf(ptr: ?*anyopaque) *Self {
|
fn getSelf(ptr: ?*anyopaque) *Self {
|
||||||
return @as(*Self, @ptrCast(@alignCast(@alignOf(Self), ptr)));
|
return @as(*Self, @ptrCast(@alignCast(ptr)));
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn move_to(to: [*c]const c.FT_Vector, ctx: ?*anyopaque) callconv(.C) c_int {
|
pub fn move_to(to: [*c]const c.FT_Vector, ctx: ?*anyopaque) callconv(.C) c_int {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue