str_extra.c

Extra string functions library for C
git clone git://git.finwo.net/lib/str_extra.c
Log | Files | Refs | README

commit aae4c2aad5fdad94f02d4373a79df3237d77af45
parent 9e7fb11d9ef95c04fe286cef90cad831ab931d2f
Author: finwo <finwo@pm.me>
Date:   Thu,  9 Apr 2026 18:44:21 +0200

Update package format

Diffstat:
A.dep.export | 4++++
A.editorconfig | 13+++++++++++++
A.github/FUNDING.yml | 3+++
ACODE_OF_CONDUCT.md | 6++++++
Mconfig.mk | 6+++---
Dpackage.ini | 11-----------
6 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/.dep.export b/.dep.export @@ -0,0 +1,4 @@ +include/finwo/str_extra.h src/str_extra.h +include/finwo/str_isHex.h src/str_isHex.h +include/finwo/strnstr.h src/strnstr.h +include/finwo/strtoupper.h src/strtoupper.h diff --git a/.editorconfig b/.editorconfig @@ -0,0 +1,13 @@ +# 2d0e4a3f-ac19-430c-bf1b-46c68651ce21 +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_size = 2 +indent_style = space +trim_trailing_whitespace = true + +[Makefile*] +indent_style = tab diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# f4d2ed80-57b6-46e6-b245-5049428a931d +github: finwo +liberapay: finwo diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md @@ -0,0 +1,6 @@ +<!-- 46b43825-f791-485e-9445-415ee7bbbf2d --> +# Contributor Code of Conduct + +This project adheres to No Code of Conduct. We are all adults. We accept anyone's contributions. Nothing else matters. + +For more information please visit the [No Code of Conduct](https://github.com/domgetter/NCoC) homepage. diff --git a/config.mk b/config.mk @@ -1,3 +1,3 @@ -SRC+=__DIRNAME/src/strnstr.c -SRC+=__DIRNAME/src/str_isHex.c -SRC+=__DIRNAME/src/strtoupper.c +SRC+={{module.dirname}}/src/strnstr.c +SRC+={{module.dirname}}/src/str_isHex.c +SRC+={{module.dirname}}/src/strtoupper.c diff --git a/package.ini b/package.ini @@ -1,11 +0,0 @@ -[export] -config.mk=config.mk - -include/finwo/str_extra.h=src/str_extra.h -include/finwo/str_isHex.h=src/str_isHex.h -include/finwo/strnstr.h=src/strnstr.h -include/finwo/strtoupper.h=src/strtoupper.h - -[package] -deps=lib -name=finwo/str_extra