refactor: string extend method

This commit is contained in:
2025-09-07 22:36:30 +02:00
parent 3e0584d139
commit 16ee246956
17 changed files with 2164 additions and 2123 deletions

View File

@@ -1,26 +1,26 @@
project(
'testlib',
'c',
version: '0.1',
default_options: ['c_std=c17'],
)
src = files(
'hashmap/myhashmap.c',
'queue/myqueue.c',
'string/mystring.c',
)
testlib = files(
'test/test.c',
'test/hashmap/hm1.c',
'test/queue/q1.c',
'test/string/str1.c',
'test/string/str2.c',
)
sources = src + testlib
inc_dir = include_directories('string', 'queue', 'hashmap')
executable('testlib', sources, include_directories: inc_dir)
project(
'testlib',
'c',
version: '0.1',
default_options: ['c_std=c17'],
)
src = files(
'hashmap/myhashmap.c',
'queue/myqueue.c',
'string/mystring.c',
)
testlib = files(
'test/test.c',
'test/hashmap/hm1.c',
'test/queue/q1.c',
'test/string/str1.c',
'test/string/str2.c',
)
sources = src + testlib
inc_dir = include_directories('string', 'queue', 'hashmap')
executable('testlib', sources, include_directories: inc_dir)