~tomterl/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH thp] Build thp with Hare dev+804e55f7

Carlos Une <une@fastmail.fm>
Details
Message ID
<20230829013400.34715-1-une@fastmail.fm>
DKIM signature
missing
Download raw message
Patch: +6 -6
---
 git/ref.ha    | 2 +-
 git/repo.ha   | 2 +-
 git/status.ha | 4 ++--
 git/tree.ha   | 2 +-
 mods/mods.ha  | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/git/ref.ha b/git/ref.ha
index bf8fe9e..ebf905b 100644
--- a/git/ref.ha
+++ b/git/ref.ha
@@ -6,7 +6,7 @@
use types::c;

// Opaque pointer type representing a git reference
export type reference = void;
export type reference = opaque;


// Return the full name of REF (e.g. refs/heads/main). The pointer returned is
diff --git a/git/repo.ha b/git/repo.ha
index 8cd1818..a7e8271 100644
--- a/git/repo.ha
+++ b/git/repo.ha
@@ -14,7 +14,7 @@ export type repository_open_flag_t = enum uint {
	FROM_ENV = (1 << 4),
};
// Opaque pointer type representing a libgit2 repository
export type repository = void;
export type repository = opaque;

// Types of items in repositories.
export type repository_item_t = enum {
diff --git a/git/status.ha b/git/status.ha
index 53fb934..3624e55 100644
--- a/git/status.ha
+++ b/git/status.ha
@@ -12,8 +12,8 @@ def STATUS_OPTIONS_VERSION: uint = 1;
export @symbol("git_status_options_init") fn status_options_init(
	opts: *status_options, version: uint) int;

export type diff_delta = void;
export type status_list = void;
export type diff_delta = opaque;
export type status_list = opaque;

export type status_entry = struct {
	status: status_t,
diff --git a/git/tree.ha b/git/tree.ha
index 1fbe80c..ad2b00c 100644
--- a/git/tree.ha
+++ b/git/tree.ha
@@ -3,4 +3,4 @@
//
// SPDX-FileCopyrightText:  2022 Tom Regner <tomte@tomsdiner.org>
// SPDX-License-Identifier: GPL-3.0-or-later
export type tree = void;
export type tree = opaque;
diff --git a/mods/mods.ha b/mods/mods.ha
index de2e6ea..74bb477 100644
--- a/mods/mods.ha
+++ b/mods/mods.ha
@@ -10,7 +10,7 @@ use strings;

use env;

let pathsep: []u8 = [path::PATHSEP];
let pathsep: []u8 = [path::SEP];
let pathsepstr: str = "";

@init fn mods_init() void = {
-- 
2.39.2
Details
Message ID
<87ttsifl9e.fsf@tomsdiner.org>
In-Reply-To
<20230829013400.34715-1-une@fastmail.fm> (view parent)
DKIM signature
missing
Download raw message
Thanks!
Reply to thread Export thread (mbox)