refactor: drop all c_(u)int usage in Plane
The use of c_int and c_uint comes from the days when flow supported building agains notcurses has a c API.
This commit is contained in:
parent
35be98f95c
commit
25d5f80a4c
8 changed files with 87 additions and 84 deletions
|
|
@ -8,7 +8,7 @@ fn metrics() Buffer.Metrics {
|
|||
return .{
|
||||
.ctx = undefined,
|
||||
.egc_length = struct {
|
||||
fn f(_: Buffer.Metrics, _: []const u8, colcount: *c_int, _: usize) usize {
|
||||
fn f(_: Buffer.Metrics, _: []const u8, colcount: *usize, _: usize) usize {
|
||||
colcount.* = 1;
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue