Replaced GLib allocation helpers in history management with standard free/strdup to reduce unnecessary GLib coupling.

Updated the network helper API to use uint32_t and standard allocation/duplication routines, dropping the GLib include from the implementation and adding <stdint.h> to the header.
This commit is contained in:
2026-01-25 23:00:20 -07:00
parent 6c85c796d3
commit 5ca3e835a7

29
Makefile Normal file
View File

@@ -0,0 +1,29 @@
PREFIX ?= /usr/local
BUILD_DIR ?= build
MESON ?= meson
NINJA ?= ninja
MESON_SETUP_ARGS ?=
MESON_COMPILE_ARGS ?=
MESON_INSTALL_ARGS ?=
.PHONY: all configure build reconfigure install clean distclean
all: build
configure:
$(MESON) setup $(BUILD_DIR) --prefix=$(PREFIX) $(MESON_SETUP_ARGS)
build: configure
$(MESON) compile -C $(BUILD_DIR) $(MESON_COMPILE_ARGS)
reconfigure:
$(MESON) setup --reconfigure $(BUILD_DIR) --prefix=$(PREFIX) $(MESON_SETUP_ARGS)
install: build
$(MESON) install -C $(BUILD_DIR) $(MESON_INSTALL_ARGS)
clean:
$(MESON) compile -C $(BUILD_DIR) --clean
distclean:
rm -rf $(BUILD_DIR)