libsheepy

C lib for handling text files, strings and json like data structure with an object oriented system
git clone https://spartatek.se/git/libsheepy.git
Log | Files | Refs | README | LICENSE

commit df1f85b6edb655a5b922bbd82ef6e4cee9848940
parent 25a42e388d2c55c45e994c5b4ff516122fad8593
Author: Remy Noulin <loader2x@gmail.com>
Date:   Mon,  8 Jul 2019 08:20:58 +0200

add macros in libsheepyObject.h

completion.txt                   |  182 ++-
documentation.md                 | 3064 ++++++++++++++++++++++++++++++++++----
release/libsheepyObject.h        |  267 +++-
src/json/libsheepyCSmallArray.c  |   16 +-
src/json/libsheepyCSmallJson.c   |   20 +-
src/json/libsheepyCSmallString.c |    4 +-
src/libsheepyObject.h            |  267 +++-
7 files changed, 3429 insertions(+), 391 deletions(-)

Diffstat:
Mcompletion.txt | 182++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
Mdocumentation.md | 3064+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
Mrelease/libsheepyObject.h | 267++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
Msrc/json/libsheepyCSmallArray.c | 16++++++++--------
Msrc/json/libsheepyCSmallJson.c | 20++++++++++----------
Msrc/json/libsheepyCSmallString.c | 4++--
Msrc/libsheepyObject.h | 267++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
7 files changed, 3429 insertions(+), 391 deletions(-)

diff --git a/completion.txt b/completion.txt @@ -1592,6 +1592,10 @@ pushArraycO(self, array) pushArraycG pushNFreeArraycO(self, array) pushNFreeArraycG +pushNFreeSmallBytesO(self, value) +pushNFreeSmallBytesG +popSmallBytesO(self) +popSmallBytesG popNumO(self) popNumG prependUndefinedO(self) @@ -1614,6 +1618,8 @@ prependArraycO(self, array) prependArraycG prependSmallBoolO(self, value) prependSmallBoolG +prependSmallBytesO(self, value) +prependSmallBytesG prependSmallDoubleO(self, value) prependSmallDoubleG prependSmallIntO(self, value) @@ -1632,6 +1638,8 @@ prependNFreeArraycO(self, array) prependNFreeArraycG prependNFreeSmallBoolO(self, value) prependNFreeSmallBoolG +prependNFreeSmallBytesO(self, value) +prependNFreeSmallBytesG prependNFreeSmallDoubleO(self, value) prependNFreeSmallDoubleG prependNFreeSmallIntO(self, value) @@ -1662,6 +1670,8 @@ dequeueArrayO(self) dequeueArrayG dequeueSmallBoolO(self) dequeueSmallBoolG +dequeueSmallBytesO(self) +dequeueSmallBytesG dequeueSmallDoubleO(self) dequeueSmallDoubleG dequeueSmallIntO(self) @@ -1698,6 +1708,8 @@ injectArraycO(self, index, toInject) injectArraycG injectSmallBoolO(self, index, toInject) injectSmallBoolG +injectSmallBytesO(self, index, toInject) +injectSmallBytesG injectSmallDoubleO(self, index, toInject) injectSmallDoubleG injectSmallIntO(self, index, toInject) @@ -1716,6 +1728,8 @@ injectNFreeArraycO(self, index, toInject) injectNFreeArraycG injectNFreeSmallBoolO(self, index, toInject) injectNFreeSmallBoolG +injectNFreeSmallBytesO(self, index, toInject) +injectNFreeSmallBytesG injectNFreeSmallDoubleO(self, index, toInject) injectNFreeSmallDoubleG injectNFreeSmallIntO(self, index, toInject) @@ -1728,14 +1742,30 @@ sortFO(self, compareFunction) sortFG equalO(self, array) equalG +equalSmallJsonO(self, array) +equalSmallJsonG +equalArrayO(self, p2) +equalArrayG +equalBaseO(self, p2) +equalBaseG icEqualO(self, array) icEqualG +icEqualSmallJsonO(self, array) +icEqualSmallJsonG setAtCharO(self, index, c) setAtCharG setAtArraycO(self, index, array) setAtArraycG +setAtSmallBytesO(self, index, value) +setAtSmallBytesG setAtNFreeArraycO(self, index, array) setAtNFreeArraycG +setAtNFreeSmallBytesO(self, index, value) +setAtNFreeSmallBytesG +setPAtSmallJsonO(self, index, json) +setPAtSmallJsonG +setPAtNFreeSmallJsonO(self, index, json) +setPAtNFreeSmallJsonG hasUndefinedO(self, undefined) hasUndefinedG hasBoolO(self, value) @@ -1756,6 +1786,8 @@ hasArraycO(self, array) hasArraycG hasSmallBoolO(self, value) hasSmallBoolG +hasSmallBytesO(self, value) +hasSmallBytesG hasSmallDoubleO(self, value) hasSmallDoubleG hasSmallIntO(self, value) @@ -1782,6 +1814,8 @@ indexOfArraycO(self, array) indexOfArraycG indexOfSmallBoolO(self, value) indexOfSmallBoolG +indexOfSmallBytesO(self, value) +indexOfSmallBytesG indexOfSmallDoubleO(self, value) indexOfSmallDoubleG indexOfSmallIntO(self, value) @@ -1806,6 +1840,8 @@ binarySearchArraycO(self, array) binarySearchArraycG binarySearchSmallBoolO(self, value) binarySearchSmallBoolG +binarySearchSmallBytesO(self, value) +binarySearchSmallBytesG binarySearchSmallDoubleO(self, value) binarySearchSmallDoubleG binarySearchSmallIntO(self, value) @@ -1870,8 +1906,14 @@ joinSmallStringO(self, delim) joinSmallStringG joinCharSO(self, c) joinCharSG +joinSmallJsonSO(self, delim) +joinSmallJsonSG joinSmallStringSO(self, delim) joinSmallStringSG +zipSmallJsonSmallJsonO(self, array1, array2) +zipSmallJsonSmallJsonG +zipSmallJsonCharO(self, array1, array2) +zipSmallJsonCharG zipArrayO(self, array1, array2) zipArrayG zipCharO(self, array1, array2) @@ -1956,8 +1998,6 @@ setUint64O(self, p2) setUint64G equalCharO(self, p2) equalCharG -equalBaseO(self, p2) -equalBaseG equalBoolO(self, p2) equalBoolG equalDoubleO(self, p2) @@ -1980,6 +2020,8 @@ appendFileO(self, filePath) appendFileG appendFileSmallStringO(self, filePath) appendFileSmallStringG +equalSmallBoolO(self, value) +equalSmallBoolG setClassDataFreeO(self, free) setClassDataFreeG setObjectDataFreeO(self, free) @@ -1996,6 +2038,8 @@ setCharO(self, key, c) setCharG setArraycO(self, key, array) setArraycG +setSmallBytesO(self, key, value) +setSmallBytesG setKCharO(self, key, value) setKCharG setUndefinedKCharO(self, key) @@ -2018,16 +2062,22 @@ setArraycKCharO(self, key, array) setArraycKCharG setSmallBoolKCharO(self, key, value) setSmallBoolKCharG +setSmallBytesKCharO(self, key, value) +setSmallBytesKCharG setSmallDoubleKCharO(self, key, value) setSmallDoubleKCharG setSmallIntKCharO(self, key, value) setSmallIntKCharG +setSmallJsonKCharO(self, key, value) +setSmallJsonKCharG setSmallStringKCharO(self, key, string) setSmallStringKCharG setSmallContainerKCharO(self, key, container) setSmallContainerKCharG setNFreeArraycO(self, key, array) setNFreeArraycG +setNFreeSmallBytesO(self, key, value) +setNFreeSmallBytesG setNFreeKCharO(self, key, value) setNFreeKCharG setNFreeUndefinedKCharO(self, key, undefined) @@ -2042,26 +2092,40 @@ setNFreeArraycKCharO(self, key, array) setNFreeArraycKCharG setNFreeSmallBoolKCharO(self, key, value) setNFreeSmallBoolKCharG +setNFreeSmallBytesKCharO(self, key, value) +setNFreeSmallBytesKCharG setNFreeSmallDoubleKCharO(self, key, value) setNFreeSmallDoubleKCharG setNFreeSmallIntKCharO(self, key, value) setNFreeSmallIntKCharG +setNFreeSmallJsonKCharO(self, key, value) +setNFreeSmallJsonKCharG setNFreeSmallStringKCharO(self, key, string) setNFreeSmallStringKCharG setNFreeSmallContainerKCharO(self, key, container) setNFreeSmallContainerKCharG +setPSmallJsonO(self, key, json) +setPSmallJsonG +setNFreePSmallJsonO(self, key, json) +setNFreePSmallJsonG setPArrayKCharO(self, key, array) setPArrayKCharG setPDictKCharO(self, key, dict) setPDictKCharG +setPSmallJsonKCharO(self, key, json) +setPSmallJsonKCharG setPSmallStringKCharO(self, key, string) setPSmallStringKCharG setNFreePArrayKCharO(self, key, array) setNFreePArrayKCharG setNFreePDictKCharO(self, key, dict) setNFreePDictKCharG +setNFreePSmallJsonKCharO(self, key, json) +setNFreePSmallJsonKCharG setNFreePSmallStringKCharO(self, key, string) setNFreePSmallStringKCharG +getSmallBytesO(self, key) +getSmallBytesG getKCharO(self, key) getKCharG getUndefinedKCharO(self, key) @@ -2098,16 +2162,22 @@ getArrayKCharO(self, key) getArrayKCharG getSmallBoolKCharO(self, key) getSmallBoolKCharG +getSmallBytesKCharO(self, key) +getSmallBytesKCharG getSmallDoubleKCharO(self, key) getSmallDoubleKCharG getSmallIntKCharO(self, key) getSmallIntKCharG +getSmallJsonKCharO(self, key) +getSmallJsonKCharG getSmallStringKCharO(self, key) getSmallStringKCharG getVoidKCharO(self, key) getVoidKCharG getSmallContainerKCharO(self, key) getSmallContainerKCharG +getNDupSmallBytesO(self, key) +getNDupSmallBytesG getNDupKCharO(self, key) getNDupKCharG getNDupUndefinedKCharO(self, key) @@ -2132,10 +2202,14 @@ getNDupArrayKCharO(self, key) getNDupArrayKCharG getNDupSmallBoolKCharO(self, key) getNDupSmallBoolKCharG +getNDupSmallBytesKCharO(self, key) +getNDupSmallBytesKCharG getNDupSmallDoubleKCharO(self, key) getNDupSmallDoubleKCharG getNDupSmallIntKCharO(self, key) getNDupSmallIntKCharG +getNDupSmallJsonKCharO(self, key) +getNDupSmallJsonKCharG getNDupSmallStringKCharO(self, key) getNDupSmallStringKCharG getNDupVoidKCharO(self, key) @@ -2166,6 +2240,8 @@ keyByArraycO(self, array) keyByArraycG keyBySmallBoolO(self, value) keyBySmallBoolG +keyBySmallBytesO(self, value) +keyBySmallBytesG keyBySmallDoubleO(self, value) keyBySmallDoubleG keyBySmallIntO(self, value) @@ -2204,6 +2280,8 @@ iterNextKeyO(self) iterNextKeyG iterKeyO(self) iterKeyG +zipSmallJsonVArrayO(self, keys, values) +zipSmallJsonVArrayG zipArrayArrayO(self, keys, values) zipArrayArrayG zipVArrayO(self, keys, values) @@ -2218,8 +2296,6 @@ typeKCharO(self, key) typeKCharG equalChaO(self, p2) equalChaG -equalSmallBoolO(self, p2) -equalSmallBoolG getTopTypeO(self) getTopTypeG setTypeUndefinedO(self) @@ -2326,14 +2402,20 @@ getTopSmallIntO(self) getTopSmallIntG getTopSmallStringO(self) getTopSmallStringG -setPSmallJsonO(self, key, value) -setPSmallJsonG -setNFreePSmallJsonO(self, key, value) -setNFreePSmallJsonG -setPAtSmallJsonO(self, index, value) -setPAtSmallJsonG -setPAtNFreeSmallJsonO(self, index, value) -setPAtNFreeSmallJsonG +keyIsO(self, key) +keyIsG +keyIsSO(self, key) +keyIsSG +makeKeyO(self, key) +makeKeyG +iMakeKeyO(self, key) +iMakeKeyG +bMakeKeyO(self, dest, key) +bMakeKeyG +bLMakeKeyO(self, dest, size, key) +bLMakeKeyG +makeKeyLenO(self, key) +makeKeyLenG mergeDictO(self, smallDict) mergeDictG mergeDictNSmashO(self, smallDict) @@ -2424,10 +2506,6 @@ icReplaceSJsonO(self, olds, news, max) icReplaceSJsonG icReplaceCharJsonO(self, olds, news, max) icReplaceCharJsonG -equalSmallJsonO(self, p2) -equalSmallJsonG -icEqualSmallJsonO(self, string) -icEqualSmallJsonG icEqualSmallStringO(self, string) icEqualSmallStringG icEqualSO(self, string) @@ -2506,6 +2584,14 @@ extractSCharO(self, delim1, delim2) extractSCharG extractCharCharO(self, delim1, delim2) extractCharCharG +extractSmallJsonSmallJsonO(self, delim1, delim2) +extractSmallJsonSmallJsonG +extractSmallStringSmallJsonO(self, delim1, delim2) +extractSmallStringSmallJsonG +extractSSmallJsonO(self, delim1, delim2) +extractSSmallJsonG +extractCharSmallJsonO(self, delim1, delim2) +extractCharSmallJsonG extractSmallStringSmallStringO(self, delim1, delim2) extractSmallStringSmallStringG extractSmallStringSO(self, delim1, delim2) @@ -2530,6 +2616,14 @@ icExtractSCharO(self, delim1, delim2) icExtractSCharG icExtractCharCharO(self, delim1, delim2) icExtractCharCharG +icExtractSmallJsonSmallJsonO(self, delim1, delim2) +icExtractSmallJsonSmallJsonG +icExtractSmallStringSmallJsonO(self, delim1, delim2) +icExtractSmallStringSmallJsonG +icExtractSSmallJsonO(self, delim1, delim2) +icExtractSSmallJsonG +icExtractCharSmallJsonO(self, delim1, delim2) +icExtractCharSmallJsonG icExtractSmallStringSmallStringO(self, delim1, delim2) icExtractSmallStringSmallStringG icExtractSmallStringSO(self, delim1, delim2) @@ -2614,16 +2708,72 @@ appendCharO(self, c) appendCharG appendNSmashSO(self, string) appendNSmashSG +prependNSmashSmallJsonO(self, json) +prependNSmashSmallJsonG prependNSmashSO(self, string) prependNSmashSG +replaceSmallJsonSmallJsonO(self, olds, news, max) +replaceSmallJsonSmallJsonG +replaceSmallJsonSmallStringO(self, olds, news, max) +replaceSmallJsonSmallStringG +replaceSmallJsonSO(self, olds, news, max) +replaceSmallJsonSG +replaceSmallJsonCharO(self, olds, news, max) +replaceSmallJsonCharG +replaceSSmallJsonO(self, olds, news, max) +replaceSSmallJsonG +replaceCharSmallJsonO(self, olds, news, max) +replaceCharSmallJsonG +icReplaceSmallJsonSmallJsonO(self, olds, news, max) +icReplaceSmallJsonSmallJsonG +icReplaceSmallJsonSmallStringO(self, olds, news, max) +icReplaceSmallJsonSmallStringG +icReplaceSmallJsonSO(self, olds, news, max) +icReplaceSmallJsonSG +icReplaceSmallJsonCharO(self, olds, news, max) +icReplaceSmallJsonCharG +icReplaceSSmallJsonO(self, olds, news, max) +icReplaceSSmallJsonG +icReplaceCharSmallJsonO(self, olds, news, max) +icReplaceCharSmallJsonG equalSO(self, string) equalSG +equalISmallJsonO(self, string, index) +equalISmallJsonG +startsWithSmallJsonO(self, string) +startsWithSmallJsonG +endsWithSmallJsonO(self, string) +endsWithSmallJsonG +countSmallJsonO(self, string) +countSmallJsonG +icStartsWithSmallJsonO(self, string) +icStartsWithSmallJsonG +icEndsWithSmallJsonO(self, string) +icEndsWithSmallJsonG +icCountSmallJsonO(self, string) +icCountSmallJsonG insertNFreeO(self, index, toInsert) insertNFreeG +splitSmallJsonSO(self, delim) +splitSmallJsonSG splitSSmallStringO(self, delim) splitSSmallStringG +extractSmallJsonSmallStringO(self, delim1, delim2) +extractSmallJsonSmallStringG +extractSmallJsonSO(self, delim1, delim2) +extractSmallJsonSG +extractSmallJsonCharO(self, delim1, delim2) +extractSmallJsonCharG +icSplitSmallJsonSO(self, delim) +icSplitSmallJsonSG icSplitSSmallStringO(self, delim) icSplitSSmallStringG +icExtractSmallJsonSmallStringO(self, delim1, delim2) +icExtractSmallJsonSmallStringG +icExtractSmallJsonSO(self, delim1, delim2) +icExtractSmallJsonSG +icExtractSmallJsonCharO(self, delim1, delim2) +icExtractSmallJsonCharG unusedV toUnsignedType(var) convertToUnsignedType(var) diff --git a/documentation.md b/documentation.md @@ -15016,6 +15016,10 @@ pushArraycO(self, array) pushArraycG pushNFreeArraycO(self, array) pushNFreeArraycG +pushNFreeSmallBytesO(self, value) +pushNFreeSmallBytesG +popSmallBytesO(self) +popSmallBytesG popNumO(self) popNumG prependUndefinedO(self) @@ -15038,6 +15042,8 @@ prependArraycO(self, array) prependArraycG prependSmallBoolO(self, value) prependSmallBoolG +prependSmallBytesO(self, value) +prependSmallBytesG prependSmallDoubleO(self, value) prependSmallDoubleG prependSmallIntO(self, value) @@ -15056,6 +15062,8 @@ prependNFreeArraycO(self, array) prependNFreeArraycG prependNFreeSmallBoolO(self, value) prependNFreeSmallBoolG +prependNFreeSmallBytesO(self, value) +prependNFreeSmallBytesG prependNFreeSmallDoubleO(self, value) prependNFreeSmallDoubleG prependNFreeSmallIntO(self, value) @@ -15086,6 +15094,8 @@ dequeueArrayO(self) dequeueArrayG dequeueSmallBoolO(self) dequeueSmallBoolG +dequeueSmallBytesO(self) +dequeueSmallBytesG dequeueSmallDoubleO(self) dequeueSmallDoubleG dequeueSmallIntO(self) @@ -15122,6 +15132,8 @@ injectArraycO(self, index, toInject) injectArraycG injectSmallBoolO(self, index, toInject) injectSmallBoolG +injectSmallBytesO(self, index, toInject) +injectSmallBytesG injectSmallDoubleO(self, index, toInject) injectSmallDoubleG injectSmallIntO(self, index, toInject) @@ -15140,6 +15152,8 @@ injectNFreeArraycO(self, index, toInject) injectNFreeArraycG injectNFreeSmallBoolO(self, index, toInject) injectNFreeSmallBoolG +injectNFreeSmallBytesO(self, index, toInject) +injectNFreeSmallBytesG injectNFreeSmallDoubleO(self, index, toInject) injectNFreeSmallDoubleG injectNFreeSmallIntO(self, index, toInject) @@ -15152,14 +15166,30 @@ sortFO(self, compareFunction) sortFG equalO(self, array) equalG +equalSmallJsonO(self, array) +equalSmallJsonG +equalArrayO(self, p2) +equalArrayG +equalBaseO(self, p2) +equalBaseG icEqualO(self, array) icEqualG +icEqualSmallJsonO(self, array) +icEqualSmallJsonG setAtCharO(self, index, c) setAtCharG setAtArraycO(self, index, array) setAtArraycG +setAtSmallBytesO(self, index, value) +setAtSmallBytesG setAtNFreeArraycO(self, index, array) setAtNFreeArraycG +setAtNFreeSmallBytesO(self, index, value) +setAtNFreeSmallBytesG +setPAtSmallJsonO(self, index, json) +setPAtSmallJsonG +setPAtNFreeSmallJsonO(self, index, json) +setPAtNFreeSmallJsonG hasUndefinedO(self, undefined) hasUndefinedG hasBoolO(self, value) @@ -15180,6 +15210,8 @@ hasArraycO(self, array) hasArraycG hasSmallBoolO(self, value) hasSmallBoolG +hasSmallBytesO(self, value) +hasSmallBytesG hasSmallDoubleO(self, value) hasSmallDoubleG hasSmallIntO(self, value) @@ -15206,6 +15238,8 @@ indexOfArraycO(self, array) indexOfArraycG indexOfSmallBoolO(self, value) indexOfSmallBoolG +indexOfSmallBytesO(self, value) +indexOfSmallBytesG indexOfSmallDoubleO(self, value) indexOfSmallDoubleG indexOfSmallIntO(self, value) @@ -15230,6 +15264,8 @@ binarySearchArraycO(self, array) binarySearchArraycG binarySearchSmallBoolO(self, value) binarySearchSmallBoolG +binarySearchSmallBytesO(self, value) +binarySearchSmallBytesG binarySearchSmallDoubleO(self, value) binarySearchSmallDoubleG binarySearchSmallIntO(self, value) @@ -15294,8 +15330,14 @@ joinSmallStringO(self, delim) joinSmallStringG joinCharSO(self, c) joinCharSG +joinSmallJsonSO(self, delim) +joinSmallJsonSG joinSmallStringSO(self, delim) joinSmallStringSG +zipSmallJsonSmallJsonO(self, array1, array2) +zipSmallJsonSmallJsonG +zipSmallJsonCharO(self, array1, array2) +zipSmallJsonCharG zipArrayO(self, array1, array2) zipArrayG zipCharO(self, array1, array2) @@ -15380,8 +15422,6 @@ setUint64O(self, p2) setUint64G equalCharO(self, p2) equalCharG -equalBaseO(self, p2) -equalBaseG equalBoolO(self, p2) equalBoolG equalDoubleO(self, p2) @@ -15404,6 +15444,8 @@ appendFileO(self, filePath) appendFileG appendFileSmallStringO(self, filePath) appendFileSmallStringG +equalSmallBoolO(self, value) +equalSmallBoolG setClassDataFreeO(self, free) setClassDataFreeG setObjectDataFreeO(self, free) @@ -15420,6 +15462,8 @@ setCharO(self, key, c) setCharG setArraycO(self, key, array) setArraycG +setSmallBytesO(self, key, value) +setSmallBytesG setKCharO(self, key, value) setKCharG setUndefinedKCharO(self, key) @@ -15442,16 +15486,22 @@ setArraycKCharO(self, key, array) setArraycKCharG setSmallBoolKCharO(self, key, value) setSmallBoolKCharG +setSmallBytesKCharO(self, key, value) +setSmallBytesKCharG setSmallDoubleKCharO(self, key, value) setSmallDoubleKCharG setSmallIntKCharO(self, key, value) setSmallIntKCharG +setSmallJsonKCharO(self, key, value) +setSmallJsonKCharG setSmallStringKCharO(self, key, string) setSmallStringKCharG setSmallContainerKCharO(self, key, container) setSmallContainerKCharG setNFreeArraycO(self, key, array) setNFreeArraycG +setNFreeSmallBytesO(self, key, value) +setNFreeSmallBytesG setNFreeKCharO(self, key, value) setNFreeKCharG setNFreeUndefinedKCharO(self, key, undefined) @@ -15466,26 +15516,40 @@ setNFreeArraycKCharO(self, key, array) setNFreeArraycKCharG setNFreeSmallBoolKCharO(self, key, value) setNFreeSmallBoolKCharG +setNFreeSmallBytesKCharO(self, key, value) +setNFreeSmallBytesKCharG setNFreeSmallDoubleKCharO(self, key, value) setNFreeSmallDoubleKCharG setNFreeSmallIntKCharO(self, key, value) setNFreeSmallIntKCharG +setNFreeSmallJsonKCharO(self, key, value) +setNFreeSmallJsonKCharG setNFreeSmallStringKCharO(self, key, string) setNFreeSmallStringKCharG setNFreeSmallContainerKCharO(self, key, container) setNFreeSmallContainerKCharG +setPSmallJsonO(self, key, json) +setPSmallJsonG +setNFreePSmallJsonO(self, key, json) +setNFreePSmallJsonG setPArrayKCharO(self, key, array) setPArrayKCharG setPDictKCharO(self, key, dict) setPDictKCharG +setPSmallJsonKCharO(self, key, json) +setPSmallJsonKCharG setPSmallStringKCharO(self, key, string) setPSmallStringKCharG setNFreePArrayKCharO(self, key, array) setNFreePArrayKCharG setNFreePDictKCharO(self, key, dict) setNFreePDictKCharG +setNFreePSmallJsonKCharO(self, key, json) +setNFreePSmallJsonKCharG setNFreePSmallStringKCharO(self, key, string) setNFreePSmallStringKCharG +getSmallBytesO(self, key) +getSmallBytesG getKCharO(self, key) getKCharG getUndefinedKCharO(self, key) @@ -15522,16 +15586,22 @@ getArrayKCharO(self, key) getArrayKCharG getSmallBoolKCharO(self, key) getSmallBoolKCharG +getSmallBytesKCharO(self, key) +getSmallBytesKCharG getSmallDoubleKCharO(self, key) getSmallDoubleKCharG getSmallIntKCharO(self, key) getSmallIntKCharG +getSmallJsonKCharO(self, key) +getSmallJsonKCharG getSmallStringKCharO(self, key) getSmallStringKCharG getVoidKCharO(self, key) getVoidKCharG getSmallContainerKCharO(self, key) getSmallContainerKCharG +getNDupSmallBytesO(self, key) +getNDupSmallBytesG getNDupKCharO(self, key) getNDupKCharG getNDupUndefinedKCharO(self, key) @@ -15556,10 +15626,14 @@ getNDupArrayKCharO(self, key) getNDupArrayKCharG getNDupSmallBoolKCharO(self, key) getNDupSmallBoolKCharG +getNDupSmallBytesKCharO(self, key) +getNDupSmallBytesKCharG getNDupSmallDoubleKCharO(self, key) getNDupSmallDoubleKCharG getNDupSmallIntKCharO(self, key) getNDupSmallIntKCharG +getNDupSmallJsonKCharO(self, key) +getNDupSmallJsonKCharG getNDupSmallStringKCharO(self, key) getNDupSmallStringKCharG getNDupVoidKCharO(self, key) @@ -15590,6 +15664,8 @@ keyByArraycO(self, array) keyByArraycG keyBySmallBoolO(self, value) keyBySmallBoolG +keyBySmallBytesO(self, value) +keyBySmallBytesG keyBySmallDoubleO(self, value) keyBySmallDoubleG keyBySmallIntO(self, value) @@ -15628,6 +15704,8 @@ iterNextKeyO(self) iterNextKeyG iterKeyO(self) iterKeyG +zipSmallJsonVArrayO(self, keys, values) +zipSmallJsonVArrayG zipArrayArrayO(self, keys, values) zipArrayArrayG zipVArrayO(self, keys, values) @@ -15642,8 +15720,6 @@ typeKCharO(self, key) typeKCharG equalChaO(self, p2) equalChaG -equalSmallBoolO(self, p2) -equalSmallBoolG getTopTypeO(self) getTopTypeG setTypeUndefinedO(self) @@ -15750,14 +15826,20 @@ getTopSmallIntO(self) getTopSmallIntG getTopSmallStringO(self) getTopSmallStringG -setPSmallJsonO(self, key, value) -setPSmallJsonG -setNFreePSmallJsonO(self, key, value) -setNFreePSmallJsonG -setPAtSmallJsonO(self, index, value) -setPAtSmallJsonG -setPAtNFreeSmallJsonO(self, index, value) -setPAtNFreeSmallJsonG +keyIsO(self, key) +keyIsG +keyIsSO(self, key) +keyIsSG +makeKeyO(self, key) +makeKeyG +iMakeKeyO(self, key) +iMakeKeyG +bMakeKeyO(self, dest, key) +bMakeKeyG +bLMakeKeyO(self, dest, size, key) +bLMakeKeyG +makeKeyLenO(self, key) +makeKeyLenG mergeDictO(self, smallDict) mergeDictG mergeDictNSmashO(self, smallDict) @@ -15848,10 +15930,6 @@ icReplaceSJsonO(self, olds, news, max) icReplaceSJsonG icReplaceCharJsonO(self, olds, news, max) icReplaceCharJsonG -equalSmallJsonO(self, p2) -equalSmallJsonG -icEqualSmallJsonO(self, string) -icEqualSmallJsonG icEqualSmallStringO(self, string) icEqualSmallStringG icEqualSO(self, string) @@ -15930,6 +16008,14 @@ extractSCharO(self, delim1, delim2) extractSCharG extractCharCharO(self, delim1, delim2) extractCharCharG +extractSmallJsonSmallJsonO(self, delim1, delim2) +extractSmallJsonSmallJsonG +extractSmallStringSmallJsonO(self, delim1, delim2) +extractSmallStringSmallJsonG +extractSSmallJsonO(self, delim1, delim2) +extractSSmallJsonG +extractCharSmallJsonO(self, delim1, delim2) +extractCharSmallJsonG extractSmallStringSmallStringO(self, delim1, delim2) extractSmallStringSmallStringG extractSmallStringSO(self, delim1, delim2) @@ -15954,6 +16040,14 @@ icExtractSCharO(self, delim1, delim2) icExtractSCharG icExtractCharCharO(self, delim1, delim2) icExtractCharCharG +icExtractSmallJsonSmallJsonO(self, delim1, delim2) +icExtractSmallJsonSmallJsonG +icExtractSmallStringSmallJsonO(self, delim1, delim2) +icExtractSmallStringSmallJsonG +icExtractSSmallJsonO(self, delim1, delim2) +icExtractSSmallJsonG +icExtractCharSmallJsonO(self, delim1, delim2) +icExtractCharSmallJsonG icExtractSmallStringSmallStringO(self, delim1, delim2) icExtractSmallStringSmallStringG icExtractSmallStringSO(self, delim1, delim2) @@ -16038,16 +16132,72 @@ appendCharO(self, c) appendCharG appendNSmashSO(self, string) appendNSmashSG +prependNSmashSmallJsonO(self, json) +prependNSmashSmallJsonG prependNSmashSO(self, string) prependNSmashSG +replaceSmallJsonSmallJsonO(self, olds, news, max) +replaceSmallJsonSmallJsonG +replaceSmallJsonSmallStringO(self, olds, news, max) +replaceSmallJsonSmallStringG +replaceSmallJsonSO(self, olds, news, max) +replaceSmallJsonSG +replaceSmallJsonCharO(self, olds, news, max) +replaceSmallJsonCharG +replaceSSmallJsonO(self, olds, news, max) +replaceSSmallJsonG +replaceCharSmallJsonO(self, olds, news, max) +replaceCharSmallJsonG +icReplaceSmallJsonSmallJsonO(self, olds, news, max) +icReplaceSmallJsonSmallJsonG +icReplaceSmallJsonSmallStringO(self, olds, news, max) +icReplaceSmallJsonSmallStringG +icReplaceSmallJsonSO(self, olds, news, max) +icReplaceSmallJsonSG +icReplaceSmallJsonCharO(self, olds, news, max) +icReplaceSmallJsonCharG +icReplaceSSmallJsonO(self, olds, news, max) +icReplaceSSmallJsonG +icReplaceCharSmallJsonO(self, olds, news, max) +icReplaceCharSmallJsonG equalSO(self, string) equalSG +equalISmallJsonO(self, string, index) +equalISmallJsonG +startsWithSmallJsonO(self, string) +startsWithSmallJsonG +endsWithSmallJsonO(self, string) +endsWithSmallJsonG +countSmallJsonO(self, string) +countSmallJsonG +icStartsWithSmallJsonO(self, string) +icStartsWithSmallJsonG +icEndsWithSmallJsonO(self, string) +icEndsWithSmallJsonG +icCountSmallJsonO(self, string) +icCountSmallJsonG insertNFreeO(self, index, toInsert) insertNFreeG +splitSmallJsonSO(self, delim) +splitSmallJsonSG splitSSmallStringO(self, delim) splitSSmallStringG +extractSmallJsonSmallStringO(self, delim1, delim2) +extractSmallJsonSmallStringG +extractSmallJsonSO(self, delim1, delim2) +extractSmallJsonSG +extractSmallJsonCharO(self, delim1, delim2) +extractSmallJsonCharG +icSplitSmallJsonSO(self, delim) +icSplitSmallJsonSG icSplitSSmallStringO(self, delim) icSplitSSmallStringG +icExtractSmallJsonSmallStringO(self, delim1, delim2) +icExtractSmallJsonSmallStringG +icExtractSmallJsonSO(self, delim1, delim2) +icExtractSmallJsonSG +icExtractSmallJsonCharO(self, delim1, delim2) +icExtractSmallJsonCharG unusedV toUnsignedType(var) convertToUnsignedType(var) @@ -53380,6 +53530,86 @@ smallJsont* pushNFreeArraycSmallJson (smallJsont *self, char **array); * value an object */ smallJsont* pushNFreeArraycSmallJson (smallJsont *self, char **array); +#define pushNFreeSmallBytesO(self, value) (self)->f->pushNFreeSmallBytes(self, value) +#define pushNFreeSmallBytesG pushNFreeSmallBytesO +/* + * push element and free + * + * value container is freed at the end of the function + * Example: when setting a smallString, it is copied to an sStringt and then the object is freed + * + * \param + * value an object + */ +smallArrayt* pushNFreeSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * push element and free + * + * value container is freed at the end of the function + * Example: when setting a smallString, it is copied to an sStringt and then the object is freed + * + * \param + * value an object + */ +smallArrayt* pushNFreeSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * push element and free + * + * value container is freed at the end of the function + * Example: when setting a smallString, it is copied to an sStringt and then the object is freed + * + * \param + * value an object + */ +smallJsont* pushNFreeSmallBytesSmallJson (smallJsont *self, smallBytest *value); +/* + * push element and free + * + * value container is freed at the end of the function + * Example: when setting a smallString, it is copied to an sStringt and then the object is freed + * + * \param + * value an object + */ +smallJsont* pushNFreeSmallBytesSmallJson (smallJsont *self, smallBytest *value); +#define popSmallBytesO(self) (self)->f->popSmallBytes(self) +#define popSmallBytesG popSmallBytesO +/* + * pop object + * return last object from list and remove last element from the list + * + * \return + * last object pointer + * NULL when the list is NULL or empty (first element is NULL) + */ +smallBytest* popSmallBytesSmallArray (smallArrayt *self); +/* + * pop object + * return last object from list and remove last element from the list + * + * \return + * last object pointer + * NULL when the list is NULL or empty (first element is NULL) + */ +smallBytest* popSmallBytesSmallArray (smallArrayt *self); +/* + * pop object + * return last object from list and remove last element from the list + * + * \return + * last object pointer + * NULL when the list is NULL or empty (first element is NULL) + */ +smallBytest* popSmallBytesSmallJson (smallJsont *self); +/* + * pop object + * return last object from list and remove last element from the list + * + * \return + * last object pointer + * NULL when the list is NULL or empty (first element is NULL) + */ +smallBytest* popSmallBytesSmallJson (smallJsont *self); #define popNumO(self) (self)->f->popNum(self) #define popNumG popNumO /* @@ -54184,82 +54414,8 @@ smallJsont* prependSmallBoolSmallJson (smallJsont *self, smallBoolt *value); * self */ smallJsont* prependSmallBoolSmallJson (smallJsont *self, smallBoolt *value); -#define prependSmallDoubleO(self, value) (self)->f->prependSmallDouble(self, value) -#define prependSmallDoubleG prependSmallDoubleO -/* - * prepend object - * append object pointer at the beginning of the list - * when value is NULL, the operation is canceled - * - * When the sObject pointer is updated by realloc, the sObject - * pointer in the smallArray has to be updated with setP. - * The operations reallocating the sObjects are: - * smallDict: push, set, trim, merge, append - * smallArray: push, prepend - * smallBytes: push, pushBuffer - * smallJson: push, set - * smallString: append, prepend, replace, intTo, insert, color, readFile - * - * The object is duplicated for: - * char * - * - * \param - * value string to prepend - * \return - * self - */ -smallArrayt* prependSmallDoubleSmallArray (smallArrayt *self, smallDoublet *value); -/* - * prepend object - * append object pointer at the beginning of the list - * when value is NULL, the operation is canceled - * -//:pushHelp - * - * \param - * value string to prepend - * \return - * self - */ -smallArrayt* prependSmallDoubleSmallArray (smallArrayt *self, smallDoublet *value); -/* - * prepend object - * append object pointer at the beginning of the list - * when value is NULL, the operation is canceled - * - * When the sObject pointer is updated by realloc, the sObject - * pointer in the smallArray has to be updated with setP. - * The operations reallocating the sObjects are: - * smallDict: push, set, trim, merge, append - * smallArray: push, prepend - * smallBytes: push, pushBuffer - * smallJson: push, set - * smallString: append, prepend, replace, intTo, insert, color, readFile - * - * The object is duplicated for: - * char * - * - * \param - * value string to prepend - * \return - * self - */ -smallJsont* prependSmallDoubleSmallJson (smallJsont *self, smallDoublet *value); -/* - * prepend object - * append object pointer at the beginning of the list - * when value is NULL, the operation is canceled - * -//:pushHelp - * - * \param - * value string to prepend - * \return - * self - */ -smallJsont* prependSmallDoubleSmallJson (smallJsont *self, smallDoublet *value); -#define prependSmallIntO(self, value) (self)->f->prependSmallInt(self, value) -#define prependSmallIntG prependSmallIntO +#define prependSmallBytesO(self, value) (self)->f->prependSmallBytes(self, value) +#define prependSmallBytesG prependSmallBytesO /* * prepend object * append object pointer at the beginning of the list @@ -54282,7 +54438,7 @@ smallJsont* prependSmallDoubleSmallJson (smallJsont *self, smallDoublet *value); * \return * self */ -smallArrayt* prependSmallIntSmallArray (smallArrayt *self, smallIntt *value); +smallArrayt* prependSmallBytesSmallArray (smallArrayt *self, smallBytest *value); /* * prepend object * append object pointer at the beginning of the list @@ -54295,7 +54451,7 @@ smallArrayt* prependSmallIntSmallArray (smallArrayt *self, smallIntt *value); * \return * self */ -smallArrayt* prependSmallIntSmallArray (smallArrayt *self, smallIntt *value); +smallArrayt* prependSmallBytesSmallArray (smallArrayt *self, smallBytest *value); /* * prepend object * append object pointer at the beginning of the list @@ -54318,7 +54474,7 @@ smallArrayt* prependSmallIntSmallArray (smallArrayt *self, smallIntt *value); * \return * self */ -smallJsont* prependSmallIntSmallJson (smallJsont *self, smallIntt *value); +smallJsont* prependSmallBytesSmallJson (smallJsont *self, smallBytest *value); /* * prepend object * append object pointer at the beginning of the list @@ -54331,9 +54487,9 @@ smallJsont* prependSmallIntSmallJson (smallJsont *self, smallIntt *value); * \return * self */ -smallJsont* prependSmallIntSmallJson (smallJsont *self, smallIntt *value); -#define prependSmallContainerO(self, container) (self)->f->prependSmallContainer(self, container) -#define prependSmallContainerG prependSmallContainerO +smallJsont* prependSmallBytesSmallJson (smallJsont *self, smallBytest *value); +#define prependSmallDoubleO(self, value) (self)->f->prependSmallDouble(self, value) +#define prependSmallDoubleG prependSmallDoubleO /* * prepend object * append object pointer at the beginning of the list @@ -54356,7 +54512,7 @@ smallJsont* prependSmallIntSmallJson (smallJsont *self, smallIntt *value); * \return * self */ -smallArrayt* prependSmallContainerSmallArray (smallArrayt *self, smallContainert *container); +smallArrayt* prependSmallDoubleSmallArray (smallArrayt *self, smallDoublet *value); /* * prepend object * append object pointer at the beginning of the list @@ -54369,7 +54525,7 @@ smallArrayt* prependSmallContainerSmallArray (smallArrayt *self, smallContainert * \return * self */ -smallArrayt* prependSmallContainerSmallArray (smallArrayt *self, smallContainert *container); +smallArrayt* prependSmallDoubleSmallArray (smallArrayt *self, smallDoublet *value); /* * prepend object * append object pointer at the beginning of the list @@ -54392,7 +54548,7 @@ smallArrayt* prependSmallContainerSmallArray (smallArrayt *self, smallContainert * \return * self */ -smallJsont* prependSmallContainerSmallJson (smallJsont *self, smallContainert *container); +smallJsont* prependSmallDoubleSmallJson (smallJsont *self, smallDoublet *value); /* * prepend object * append object pointer at the beginning of the list @@ -54405,9 +54561,9 @@ smallJsont* prependSmallContainerSmallJson (smallJsont *self, smallContainert *c * \return * self */ -smallJsont* prependSmallContainerSmallJson (smallJsont *self, smallContainert *container); -#define prependNFreeUndefinedO(self, undefined) (self)->f->prependNFreeUndefined(self, undefined) -#define prependNFreeUndefinedG prependNFreeUndefinedO +smallJsont* prependSmallDoubleSmallJson (smallJsont *self, smallDoublet *value); +#define prependSmallIntO(self, value) (self)->f->prependSmallInt(self, value) +#define prependSmallIntG prependSmallIntO /* * prepend object * append object pointer at the beginning of the list @@ -54430,7 +54586,7 @@ smallJsont* prependSmallContainerSmallJson (smallJsont *self, smallContainert *c * \return * self */ -smallArrayt* prependNFreeUndefinedSmallArray (smallArrayt *self, undefinedt *undefined); +smallArrayt* prependSmallIntSmallArray (smallArrayt *self, smallIntt *value); /* * prepend object * append object pointer at the beginning of the list @@ -54443,7 +54599,7 @@ smallArrayt* prependNFreeUndefinedSmallArray (smallArrayt *self, undefinedt *und * \return * self */ -smallArrayt* prependNFreeUndefinedSmallArray (smallArrayt *self, undefinedt *undefined); +smallArrayt* prependSmallIntSmallArray (smallArrayt *self, smallIntt *value); /* * prepend object * append object pointer at the beginning of the list @@ -54466,7 +54622,7 @@ smallArrayt* prependNFreeUndefinedSmallArray (smallArrayt *self, undefinedt *und * \return * self */ -smallJsont* prependNFreeUndefinedSmallJson (smallJsont *self, undefinedt *undefined); +smallJsont* prependSmallIntSmallJson (smallJsont *self, smallIntt *value); /* * prepend object * append object pointer at the beginning of the list @@ -54479,9 +54635,9 @@ smallJsont* prependNFreeUndefinedSmallJson (smallJsont *self, undefinedt *undefi * \return * self */ -smallJsont* prependNFreeUndefinedSmallJson (smallJsont *self, undefinedt *undefined); -#define prependNFreeSO(self, string) (self)->f->prependNFreeS(self, string) -#define prependNFreeSG prependNFreeSO +smallJsont* prependSmallIntSmallJson (smallJsont *self, smallIntt *value); +#define prependSmallContainerO(self, container) (self)->f->prependSmallContainer(self, container) +#define prependSmallContainerG prependSmallContainerO /* * prepend object * append object pointer at the beginning of the list @@ -54504,7 +54660,7 @@ smallJsont* prependNFreeUndefinedSmallJson (smallJsont *self, undefinedt *undefi * \return * self */ -smallArrayt* prependNFreeSSmallArray (smallArrayt *self, char *string); +smallArrayt* prependSmallContainerSmallArray (smallArrayt *self, smallContainert *container); /* * prepend object * append object pointer at the beginning of the list @@ -54517,7 +54673,7 @@ smallArrayt* prependNFreeSSmallArray (smallArrayt *self, char *string); * \return * self */ -smallArrayt* prependNFreeSSmallArray (smallArrayt *self, char *string); +smallArrayt* prependSmallContainerSmallArray (smallArrayt *self, smallContainert *container); /* * prepend object * append object pointer at the beginning of the list @@ -54540,7 +54696,7 @@ smallArrayt* prependNFreeSSmallArray (smallArrayt *self, char *string); * \return * self */ -smallJsont* prependNFreeSSmallJson (smallJsont *self, char *string); +smallJsont* prependSmallContainerSmallJson (smallJsont *self, smallContainert *container); /* * prepend object * append object pointer at the beginning of the list @@ -54553,9 +54709,9 @@ smallJsont* prependNFreeSSmallJson (smallJsont *self, char *string); * \return * self */ -smallJsont* prependNFreeSSmallJson (smallJsont *self, char *string); -#define prependNFreeDictO(self, dict) (self)->f->prependNFreeDict(self, dict) -#define prependNFreeDictG prependNFreeDictO +smallJsont* prependSmallContainerSmallJson (smallJsont *self, smallContainert *container); +#define prependNFreeUndefinedO(self, undefined) (self)->f->prependNFreeUndefined(self, undefined) +#define prependNFreeUndefinedG prependNFreeUndefinedO /* * prepend object * append object pointer at the beginning of the list @@ -54578,7 +54734,7 @@ smallJsont* prependNFreeSSmallJson (smallJsont *self, char *string); * \return * self */ -smallArrayt* prependNFreeDictSmallArray (smallArrayt *self, smallDictt *dict); +smallArrayt* prependNFreeUndefinedSmallArray (smallArrayt *self, undefinedt *undefined); /* * prepend object * append object pointer at the beginning of the list @@ -54591,7 +54747,7 @@ smallArrayt* prependNFreeDictSmallArray (smallArrayt *self, smallDictt *dict); * \return * self */ -smallArrayt* prependNFreeDictSmallArray (smallArrayt *self, smallDictt *dict); +smallArrayt* prependNFreeUndefinedSmallArray (smallArrayt *self, undefinedt *undefined); /* * prepend object * append object pointer at the beginning of the list @@ -54614,7 +54770,7 @@ smallArrayt* prependNFreeDictSmallArray (smallArrayt *self, smallDictt *dict); * \return * self */ -smallJsont* prependNFreeDictSmallJson (smallJsont *self, smallDictt *dict); +smallJsont* prependNFreeUndefinedSmallJson (smallJsont *self, undefinedt *undefined); /* * prepend object * append object pointer at the beginning of the list @@ -54627,9 +54783,9 @@ smallJsont* prependNFreeDictSmallJson (smallJsont *self, smallDictt *dict); * \return * self */ -smallJsont* prependNFreeDictSmallJson (smallJsont *self, smallDictt *dict); -#define prependNFreeArrayO(self, array) (self)->f->prependNFreeArray(self, array) -#define prependNFreeArrayG prependNFreeArrayO +smallJsont* prependNFreeUndefinedSmallJson (smallJsont *self, undefinedt *undefined); +#define prependNFreeSO(self, string) (self)->f->prependNFreeS(self, string) +#define prependNFreeSG prependNFreeSO /* * prepend object * append object pointer at the beginning of the list @@ -54652,7 +54808,7 @@ smallJsont* prependNFreeDictSmallJson (smallJsont *self, smallDictt *dict); * \return * self */ -smallArrayt* prependNFreeArraySmallArray (smallArrayt *self, smallArrayt *array); +smallArrayt* prependNFreeSSmallArray (smallArrayt *self, char *string); /* * prepend object * append object pointer at the beginning of the list @@ -54665,7 +54821,7 @@ smallArrayt* prependNFreeArraySmallArray (smallArrayt *self, smallArrayt *array) * \return * self */ -smallArrayt* prependNFreeArraySmallArray (smallArrayt *self, smallArrayt *array); +smallArrayt* prependNFreeSSmallArray (smallArrayt *self, char *string); /* * prepend object * append object pointer at the beginning of the list @@ -54688,7 +54844,7 @@ smallArrayt* prependNFreeArraySmallArray (smallArrayt *self, smallArrayt *array) * \return * self */ -smallJsont* prependNFreeArraySmallJson (smallJsont *self, smallArrayt *array); +smallJsont* prependNFreeSSmallJson (smallJsont *self, char *string); /* * prepend object * append object pointer at the beginning of the list @@ -54701,9 +54857,9 @@ smallJsont* prependNFreeArraySmallJson (smallJsont *self, smallArrayt *array); * \return * self */ -smallJsont* prependNFreeArraySmallJson (smallJsont *self, smallArrayt *array); -#define prependNFreeArraycO(self, array) (self)->f->prependNFreeArrayc(self, array) -#define prependNFreeArraycG prependNFreeArraycO +smallJsont* prependNFreeSSmallJson (smallJsont *self, char *string); +#define prependNFreeDictO(self, dict) (self)->f->prependNFreeDict(self, dict) +#define prependNFreeDictG prependNFreeDictO /* * prepend object * append object pointer at the beginning of the list @@ -54726,7 +54882,7 @@ smallJsont* prependNFreeArraySmallJson (smallJsont *self, smallArrayt *array); * \return * self */ -smallArrayt* prependNFreeArraycSmallArray (smallArrayt *self, char **array); +smallArrayt* prependNFreeDictSmallArray (smallArrayt *self, smallDictt *dict); /* * prepend object * append object pointer at the beginning of the list @@ -54739,7 +54895,7 @@ smallArrayt* prependNFreeArraycSmallArray (smallArrayt *self, char **array); * \return * self */ -smallArrayt* prependNFreeArraycSmallArray (smallArrayt *self, char **array); +smallArrayt* prependNFreeDictSmallArray (smallArrayt *self, smallDictt *dict); /* * prepend object * append object pointer at the beginning of the list @@ -54762,7 +54918,7 @@ smallArrayt* prependNFreeArraycSmallArray (smallArrayt *self, char **array); * \return * self */ -smallJsont* prependNFreeArraycSmallJson (smallJsont *self, char **array); +smallJsont* prependNFreeDictSmallJson (smallJsont *self, smallDictt *dict); /* * prepend object * append object pointer at the beginning of the list @@ -54775,9 +54931,9 @@ smallJsont* prependNFreeArraycSmallJson (smallJsont *self, char **array); * \return * self */ -smallJsont* prependNFreeArraycSmallJson (smallJsont *self, char **array); -#define prependNFreeSmallBoolO(self, value) (self)->f->prependNFreeSmallBool(self, value) -#define prependNFreeSmallBoolG prependNFreeSmallBoolO +smallJsont* prependNFreeDictSmallJson (smallJsont *self, smallDictt *dict); +#define prependNFreeArrayO(self, array) (self)->f->prependNFreeArray(self, array) +#define prependNFreeArrayG prependNFreeArrayO /* * prepend object * append object pointer at the beginning of the list @@ -54800,7 +54956,7 @@ smallJsont* prependNFreeArraycSmallJson (smallJsont *self, char **array); * \return * self */ -smallArrayt* prependNFreeSmallBoolSmallArray (smallArrayt *self, smallBoolt *value); +smallArrayt* prependNFreeArraySmallArray (smallArrayt *self, smallArrayt *array); /* * prepend object * append object pointer at the beginning of the list @@ -54813,7 +54969,7 @@ smallArrayt* prependNFreeSmallBoolSmallArray (smallArrayt *self, smallBoolt *val * \return * self */ -smallArrayt* prependNFreeSmallBoolSmallArray (smallArrayt *self, smallBoolt *value); +smallArrayt* prependNFreeArraySmallArray (smallArrayt *self, smallArrayt *array); /* * prepend object * append object pointer at the beginning of the list @@ -54836,7 +54992,7 @@ smallArrayt* prependNFreeSmallBoolSmallArray (smallArrayt *self, smallBoolt *val * \return * self */ -smallJsont* prependNFreeSmallBoolSmallJson (smallJsont *self, smallBoolt *value); +smallJsont* prependNFreeArraySmallJson (smallJsont *self, smallArrayt *array); /* * prepend object * append object pointer at the beginning of the list @@ -54849,9 +55005,231 @@ smallJsont* prependNFreeSmallBoolSmallJson (smallJsont *self, smallBoolt *value) * \return * self */ -smallJsont* prependNFreeSmallBoolSmallJson (smallJsont *self, smallBoolt *value); -#define prependNFreeSmallDoubleO(self, value) (self)->f->prependNFreeSmallDouble(self, value) -#define prependNFreeSmallDoubleG prependNFreeSmallDoubleO +smallJsont* prependNFreeArraySmallJson (smallJsont *self, smallArrayt *array); +#define prependNFreeArraycO(self, array) (self)->f->prependNFreeArrayc(self, array) +#define prependNFreeArraycG prependNFreeArraycO +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * value string to prepend + * \return + * self + */ +smallArrayt* prependNFreeArraycSmallArray (smallArrayt *self, char **array); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * +//:pushHelp + * + * \param + * value string to prepend + * \return + * self + */ +smallArrayt* prependNFreeArraycSmallArray (smallArrayt *self, char **array); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * value string to prepend + * \return + * self + */ +smallJsont* prependNFreeArraycSmallJson (smallJsont *self, char **array); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * +//:pushHelp + * + * \param + * value string to prepend + * \return + * self + */ +smallJsont* prependNFreeArraycSmallJson (smallJsont *self, char **array); +#define prependNFreeSmallBoolO(self, value) (self)->f->prependNFreeSmallBool(self, value) +#define prependNFreeSmallBoolG prependNFreeSmallBoolO +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * value string to prepend + * \return + * self + */ +smallArrayt* prependNFreeSmallBoolSmallArray (smallArrayt *self, smallBoolt *value); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * +//:pushHelp + * + * \param + * value string to prepend + * \return + * self + */ +smallArrayt* prependNFreeSmallBoolSmallArray (smallArrayt *self, smallBoolt *value); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * value string to prepend + * \return + * self + */ +smallJsont* prependNFreeSmallBoolSmallJson (smallJsont *self, smallBoolt *value); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * +//:pushHelp + * + * \param + * value string to prepend + * \return + * self + */ +smallJsont* prependNFreeSmallBoolSmallJson (smallJsont *self, smallBoolt *value); +#define prependNFreeSmallBytesO(self, value) (self)->f->prependNFreeSmallBytes(self, value) +#define prependNFreeSmallBytesG prependNFreeSmallBytesO +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * value string to prepend + * \return + * self + */ +smallArrayt* prependNFreeSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * +//:pushHelp + * + * \param + * value string to prepend + * \return + * self + */ +smallArrayt* prependNFreeSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * value string to prepend + * \return + * self + */ +smallJsont* prependNFreeSmallBytesSmallJson (smallJsont *self, smallBytest *value); +/* + * prepend object + * append object pointer at the beginning of the list + * when value is NULL, the operation is canceled + * +//:pushHelp + * + * \param + * value string to prepend + * \return + * self + */ +smallJsont* prependNFreeSmallBytesSmallJson (smallJsont *self, smallBytest *value); +#define prependNFreeSmallDoubleO(self, value) (self)->f->prependNFreeSmallDouble(self, value) +#define prependNFreeSmallDoubleG prependNFreeSmallDoubleO /* * prepend object * append object pointer at the beginning of the list @@ -55564,6 +55942,44 @@ smallBoolt* dequeueSmallBoolSmallJson (smallJsont *self); * NULL when the list is NULL or empty (first element is NULL) */ smallBoolt* dequeueSmallBoolSmallJson (smallJsont *self); +#define dequeueSmallBytesO(self) (self)->f->dequeueSmallBytes(self) +#define dequeueSmallBytesG dequeueSmallBytesO +/* + * dequeue object + * return first object from list and remove it from the list + * + * \return + * first object + * NULL when the list is NULL or empty (first element is NULL) + */ +smallBytest* dequeueSmallBytesSmallArray (smallArrayt *self); +/* + * dequeue object + * return first object from list and remove it from the list + * + * \return + * first object + * NULL when the list is NULL or empty (first element is NULL) + */ +smallBytest* dequeueSmallBytesSmallArray (smallArrayt *self); +/* + * dequeue object + * return first object from list and remove it from the list + * + * \return + * first object + * NULL when the list is NULL or empty (first element is NULL) + */ +smallBytest* dequeueSmallBytesSmallJson (smallJsont *self); +/* + * dequeue object + * return first object from list and remove it from the list + * + * \return + * first object + * NULL when the list is NULL or empty (first element is NULL) + */ +smallBytest* dequeueSmallBytesSmallJson (smallJsont *self); #define dequeueSmallDoubleO(self) (self)->f->dequeueSmallDouble(self) #define dequeueSmallDoubleG dequeueSmallDoubleO /* @@ -56584,8 +57000,8 @@ smallJsont* injectSmallBoolSmallJson (smallJsont *self, intmax_t index, smallBoo * NULL error */ smallJsont* injectSmallBoolSmallJson (smallJsont *self, intmax_t index, smallBoolt *toInject); -#define injectSmallDoubleO(self, index, toInject) (self)->f->injectSmallDouble(self, index, toInject) -#define injectSmallDoubleG injectSmallDoubleO +#define injectSmallBytesO(self, index, toInject) (self)->f->injectSmallBytes(self, index, toInject) +#define injectSmallBytesG injectSmallBytesO /* * inject an element in self at index * @@ -56601,7 +57017,57 @@ smallJsont* injectSmallBoolSmallJson (smallJsont *self, intmax_t index, smallBoo * unchanged array when array is NULL or invalid index * NULL error */ -smallArrayt* injectSmallDoubleSmallArray (smallArrayt *self, intmax_t index, smallDoublet *toInject); +smallArrayt* injectSmallBytesSmallArray (smallArrayt *self, intmax_t index, smallBytest *toInject); +/* + * inject an element in self at index + * + * return array with toInject at index + * negative indexes are allowed + * + * \param + * index in array + * \param + * toInject element + * \return + * array + * unchanged array when array is NULL or invalid index + * NULL error + */ +smallArrayt* injectSmallBytesSmallArray (smallArrayt *self, intmax_t index, smallBytest *toInject); +/* + * inject an element in self at index + * + * return array with toInject at index + * negative indexes are allowed + * + * \param + * index in array + * \param + * toInject element + * \return + * array + * unchanged array when array is NULL or invalid index + * NULL error + */ +smallJsont* injectSmallBytesSmallJson (smallJsont *self, intmax_t index, smallBytest *toInject); +/* + * inject an element in self at index + * + * return array with toInject at index + * negative indexes are allowed + * + * \param + * index in array + * \param + * toInject element + * \return + * array + * unchanged array when array is NULL or invalid index + * NULL error + */ +smallJsont* injectSmallBytesSmallJson (smallJsont *self, intmax_t index, smallBytest *toInject); +#define injectSmallDoubleO(self, index, toInject) (self)->f->injectSmallDouble(self, index, toInject) +#define injectSmallDoubleG injectSmallDoubleO /* * inject an element in self at index * @@ -56633,7 +57099,7 @@ smallArrayt* injectSmallDoubleSmallArray (smallArrayt *self, intmax_t index, sma * unchanged array when array is NULL or invalid index * NULL error */ -smallJsont* injectSmallDoubleSmallJson (smallJsont *self, intmax_t index, smallDoublet *toInject); +smallArrayt* injectSmallDoubleSmallArray (smallArrayt *self, intmax_t index, smallDoublet *toInject); /* * inject an element in self at index * @@ -56650,8 +57116,6 @@ smallJsont* injectSmallDoubleSmallJson (smallJsont *self, intmax_t index, smallD * NULL error */ smallJsont* injectSmallDoubleSmallJson (smallJsont *self, intmax_t index, smallDoublet *toInject); -#define injectSmallIntO(self, index, toInject) (self)->f->injectSmallInt(self, index, toInject) -#define injectSmallIntG injectSmallIntO /* * inject an element in self at index * @@ -56667,7 +57131,25 @@ smallJsont* injectSmallDoubleSmallJson (smallJsont *self, intmax_t index, smallD * unchanged array when array is NULL or invalid index * NULL error */ -smallArrayt* injectSmallIntSmallArray (smallArrayt *self, intmax_t index, smallIntt *toInject); +smallJsont* injectSmallDoubleSmallJson (smallJsont *self, intmax_t index, smallDoublet *toInject); +#define injectSmallIntO(self, index, toInject) (self)->f->injectSmallInt(self, index, toInject) +#define injectSmallIntG injectSmallIntO +/* + * inject an element in self at index + * + * return array with toInject at index + * negative indexes are allowed + * + * \param + * index in array + * \param + * toInject element + * \return + * array + * unchanged array when array is NULL or invalid index + * NULL error + */ +smallArrayt* injectSmallIntSmallArray (smallArrayt *self, intmax_t index, smallIntt *toInject); /* * inject an element in self at index * @@ -57178,6 +57660,72 @@ smallJsont* injectNFreeSmallBoolSmallJson (smallJsont *self, intmax_t index, sma * NULL error */ smallJsont* injectNFreeSmallBoolSmallJson (smallJsont *self, intmax_t index, smallBoolt *toInject); +#define injectNFreeSmallBytesO(self, index, toInject) (self)->f->injectNFreeSmallBytes(self, index, toInject) +#define injectNFreeSmallBytesG injectNFreeSmallBytesO +/* + * inject an element in self at index + * + * return array with toInject at index + * negative indexes are allowed + * + * \param + * index in array + * \param + * toInject element + * \return + * array + * unchanged array when array is NULL or invalid index + * NULL error + */ +smallArrayt* injectNFreeSmallBytesSmallArray (smallArrayt *self, intmax_t index, smallBytest *toInject); +/* + * inject an element in self at index + * + * return array with toInject at index + * negative indexes are allowed + * + * \param + * index in array + * \param + * toInject element + * \return + * array + * unchanged array when array is NULL or invalid index + * NULL error + */ +smallArrayt* injectNFreeSmallBytesSmallArray (smallArrayt *self, intmax_t index, smallBytest *toInject); +/* + * inject an element in self at index + * + * return array with toInject at index + * negative indexes are allowed + * + * \param + * index in array + * \param + * toInject element + * \return + * array + * unchanged array when array is NULL or invalid index + * NULL error + */ +smallJsont* injectNFreeSmallBytesSmallJson (smallJsont *self, intmax_t index, smallBytest *toInject); +/* + * inject an element in self at index + * + * return array with toInject at index + * negative indexes are allowed + * + * \param + * index in array + * \param + * toInject element + * \return + * array + * unchanged array when array is NULL or invalid index + * NULL error + */ +smallJsont* injectNFreeSmallBytesSmallJson (smallJsont *self, intmax_t index, smallBytest *toInject); #define injectNFreeSmallDoubleO(self, index, toInject) (self)->f->injectNFreeSmallDouble(self, index, toInject) #define injectNFreeSmallDoubleG injectNFreeSmallDoubleO /* @@ -58552,6 +59100,32 @@ bool equalSmallStringSmallInt(smallStringt* self, smallIntt* p2); * false they differ */ bool equalSmallStringSmallJson(smallStringt* self, smallJsont* p2); +#define equalSmallJsonO(self, array) (self)->f->equalSmallJson(self, array) +#define equalSmallJsonG equalSmallJsonO +/* + * compare each element of self and list + * + * \param + * list + * \return + * true the lists have identical elements + * false they differ + */ +bool equalSmallJsonSmallJson (smallJsont* self, smallJsont* p2); +/* + * compare each element of self and list + * + * \param + * list + * \return + * true the lists have identical elements + * false they differ + */ +bool equalSmallJsonSmallJson (smallJsont* self, smallJsont* p2); +#define equalArrayO(self, p2) (self)->f->equalArray(self, p2) +#define equalArrayG equalArrayO +#define equalBaseO(self, p2) (self)->f->equalBase(self, p2) +#define equalBaseG equalBaseO #define icEqualO(self, array) (self)->f->icEqual(self, array) #define icEqualG icEqualO /* @@ -58799,6 +59373,28 @@ bool icEqualSmallStringBase (smallStringt* self, baset* p2); * false they differ */ bool icEqualSmallStringSmallJson(smallStringt* self, smallJsont* p2); +#define icEqualSmallJsonO(self, array) (self)->f->icEqualSmallJson(self, array) +#define icEqualSmallJsonG icEqualSmallJsonO +/* + * ignore case and compare each element of self and list + * + * \param + * list + * \return + * true the lists have identical elements + * false they differ + */ +bool icEqualSmallJsonSmallJson (smallJsont *self, smallJsont *string); +/* + * ignore case and compare each element of self and list + * + * \param + * list + * \return + * true the lists have identical elements + * false they differ + */ +bool icEqualSmallJsonSmallJson (smallJsont *self, smallJsont *string); #define setAtCharO(self, index, c) (self)->f->setAtChar(self, index, c) #define setAtCharG setAtCharO /* @@ -58979,6 +59575,96 @@ smallJsont* setAtArraycSmallJson (smallJsont *self, intmax_t index, char **array * when array is NULL, index is not set correctly or s is NULL */ smallJsont* setAtArraycSmallJson (smallJsont *self, intmax_t index, char **array); +#define setAtSmallBytesO(self, index, value) (self)->f->setAtSmallBytes(self, index, value) +#define setAtSmallBytesG setAtSmallBytesO +/* + * store object at given index (free already existing elements when baset *value is NULL) + * index can be negative + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallArrayt* setAtSmallBytesSmallArray (smallArrayt *self, intmax_t index, smallBytest *value); +/* + * store object at given index (free already existing elements when baset *value is NULL) + * index can be negative + * +//:pushHelp + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallArrayt* setAtSmallBytesSmallArray (smallArrayt *self, intmax_t index, smallBytest *value); +/* + * store object at given index (free already existing elements when baset *value is NULL) + * index can be negative + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallJsont* setAtSmallBytesSmallJson (smallJsont *self, intmax_t index, smallBytest *value); +/* + * store object at given index (free already existing elements when baset *value is NULL) + * index can be negative + * +//:pushHelp + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallJsont* setAtSmallBytesSmallJson (smallJsont *self, intmax_t index, smallBytest *value); #define setAtNFreeArraycO(self, index, array) (self)->f->setAtNFreeArrayc(self, index, array) #define setAtNFreeArraycG setAtNFreeArraycO /* @@ -59049,6 +59735,200 @@ smallJsont* setAtNFreeArraycSmallJson (smallJsont *self, intmax_t index, char ** * when array is NULL, index is not set correctly or s is NULL */ smallJsont* setAtNFreeArraycSmallJson (smallJsont *self, intmax_t index, char **array); +#define setAtNFreeSmallBytesO(self, index, value) (self)->f->setAtNFreeSmallBytes(self, index, value) +#define setAtNFreeSmallBytesG setAtNFreeSmallBytesO +/* + * store object at given index (free already existing elements) + * index can be negative + * + * the object parameter is freed + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallArrayt* setAtNFreeSmallBytesSmallArray (smallArrayt *self, intmax_t index, smallBytest *value); +/* + * store object at given index (free already existing elements) + * index can be negative + * + * the object parameter is freed + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallArrayt* setAtNFreeSmallBytesSmallArray (smallArrayt *self, intmax_t index, smallBytest *value); +/* + * store object at given index (free already existing elements) + * index can be negative + * + * the object parameter is freed + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallJsont* setAtNFreeSmallBytesSmallJson (smallJsont *self, intmax_t index, smallBytest *value); +/* + * store object at given index (free already existing elements) + * index can be negative + * + * the object parameter is freed + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallJsont* setAtNFreeSmallBytesSmallJson (smallJsont *self, intmax_t index, smallBytest *value); +#define setPAtSmallJsonO(self, index, json) (self)->f->setPAtSmallJson(self, index, json) +#define setPAtSmallJsonG setPAtSmallJsonO +/* + * store pointer at given index (existing element is not freed) + * index can be negative + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallArrayt* setPAtSmallJsonSmallArray (smallArrayt *self, intmax_t index, smallJsont *json); +/* + * store pointer at given index (existing element is not freed) + * index can be negative + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallArrayt* setPAtSmallJsonSmallArray (smallArrayt *self, intmax_t index, smallJsont *json); +/* + * store pointer at given index (existing element is not freed) + * index can be negative + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallJsont* setPAtSmallJsonSmallJson (smallJsont *self, intmax_t index, smallJsont *value); +/* + * store pointer at given index (existing element is not freed) + * index can be negative + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallJsont* setPAtSmallJsonSmallJson (smallJsont *self, intmax_t index, smallJsont *value); +#define setPAtNFreeSmallJsonO(self, index, json) (self)->f->setPAtNFreeSmallJson(self, index, json) +#define setPAtNFreeSmallJsonG setPAtNFreeSmallJsonO +/* + * store pointer at given index (existing element is not freed) + * index can be negative + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallArrayt* setPAtNFreeSmallJsonSmallArray (smallArrayt *self, intmax_t index, smallJsont *json); +/* + * store pointer at given index (existing element is not freed) + * index can be negative + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallArrayt* setPAtNFreeSmallJsonSmallArray (smallArrayt *self, intmax_t index, smallJsont *json); +/* + * store pointer at given index (existing element is not freed) + * index can be negative + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallJsont* setPAtNFreeSmallJsonSmallJson (smallJsont *self, intmax_t index, smallJsont *value); +/* + * store pointer at given index (existing element is not freed) + * index can be negative + * + * \param + * index: index in array, must be inside the array + * string + * \return + * 0 success + * -1 error + * + * Does nothing when: + * when array is NULL, index is not set correctly or s is NULL + */ +smallJsont* setPAtNFreeSmallJsonSmallJson (smallJsont *self, intmax_t index, smallJsont *value); #define hasUndefinedO(self, undefined) (self)->f->hasUndefined(self, undefined) #define hasUndefinedG hasUndefinedO /* @@ -59440,6 +60320,44 @@ bool hasSmallBoolSmallJson (smallJsont *self, smallBoolt *value); * true when the object is found */ bool hasSmallBoolSmallJson (smallJsont *self, smallBoolt *value); +#define hasSmallBytesO(self, value) (self)->f->hasSmallBytes(self, value) +#define hasSmallBytesG hasSmallBytesO +/* + * check if self has object + * + * \param + * object to find + * \return + * true when the object is found + */ +bool hasSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * check if self has object + * + * \param + * object to find + * \return + * true when the object is found + */ +bool hasSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * check if self has object + * + * \param + * object to find + * \return + * true when the object is found + */ +bool hasSmallBytesSmallJson (smallJsont *self, smallBytest *value); +/* + * check if self has object + * + * \param + * object to find + * \return + * true when the object is found + */ +bool hasSmallBytesSmallJson (smallJsont *self, smallBytest *value); #define hasSmallDoubleO(self, value) (self)->f->hasSmallDouble(self, value) #define hasSmallDoubleG hasSmallDoubleO /* @@ -60025,6 +60943,52 @@ ssize_t indexOfSmallBoolSmallJson (smallJsont *self, smallBoolt *value); * -1 when array or value are NULL */ ssize_t indexOfSmallBoolSmallJson (smallJsont *self, smallBoolt *value); +#define indexOfSmallBytesO(self, value) (self)->f->indexOfSmallBytes(self, value) +#define indexOfSmallBytesG indexOfSmallBytesO +/* + * return index of object in list + * + * \param + * value + * \return + * index + * -1 when the value is not found + * -1 when array or value are NULL + */ +ssize_t indexOfSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * return index of object in list + * + * \param + * value + * \return + * index + * -1 when the value is not found + * -1 when array or value are NULL + */ +ssize_t indexOfSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * return index of object in list + * + * \param + * value + * \return + * index + * -1 when the value is not found + * -1 when array or value are NULL + */ +ssize_t indexOfSmallBytesSmallJson (smallJsont *self, smallBytest *value); +/* + * return index of object in list + * + * \param + * value + * \return + * index + * -1 when the value is not found + * -1 when array or value are NULL + */ +ssize_t indexOfSmallBytesSmallJson (smallJsont *self, smallBytest *value); #define indexOfSmallDoubleO(self, value) (self)->f->indexOfSmallDouble(self, value) #define indexOfSmallDoubleG indexOfSmallDoubleO /* @@ -60577,6 +61541,52 @@ ssize_t binarySearchSmallBoolSmallJson (smallJsont *self, smallBoolt *value); * -1 value not found or NULL input pointers */ ssize_t binarySearchSmallBoolSmallJson (smallJsont *self, smallBoolt *value); +#define binarySearchSmallBytesO(self, value) (self)->f->binarySearchSmallBytes(self, value) +#define binarySearchSmallBytesG binarySearchSmallBytesO +/* + * efficiently finds the index of object in list + * the list has be sorted with the sort function + * + * \param + * value to search + * \return + * index of value + * -1 value not found or NULL input pointers + */ +ssize_t binarySearchSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * efficiently finds the index of object in list + * the list has be sorted with the sort function + * + * \param + * value to search + * \return + * index of value + * -1 value not found or NULL input pointers + */ +ssize_t binarySearchSmallBytesSmallArray (smallArrayt *self, smallBytest *value); +/* + * efficiently finds the index of object in list + * the list has be sorted with the sort function + * + * \param + * value to search + * \return + * index of value + * -1 value not found or NULL input pointers + */ +ssize_t binarySearchSmallBytesSmallJson (smallJsont *self, smallBytest *value); +/* + * efficiently finds the index of object in list + * the list has be sorted with the sort function + * + * \param + * value to search + * \return + * index of value + * -1 value not found or NULL input pointers + */ +ssize_t binarySearchSmallBytesSmallJson (smallJsont *self, smallBytest *value); #define binarySearchSmallDoubleO(self, value) (self)->f->binarySearchSmallDouble(self, value) #define binarySearchSmallDoubleG binarySearchSmallDoubleO /* @@ -62160,6 +63170,48 @@ char* joinCharSSmallJson (smallJsont *self, char c); * NULL when list or delim are NULL */ char* joinCharSSmallJson (smallJsont *self, char c); +#define joinSmallJsonSO(self, delim) (self)->f->joinSmallJsonS(self, delim) +#define joinSmallJsonSG joinSmallJsonSO +/* + * join list, the elements are seperated with delim in the resulting string + * + * \param + * delim: string seperator + * \return + * joined string + * NULL when list or delim are NULL + */ +char* joinSmallJsonSSmallArray (smallArrayt *self, smallJsont* delim); +/* + * join list, the elements are seperated with delim in the resulting string + * + * \param + * delim: string seperator + * \return + * joined string + * NULL when list or delim are NULL + */ +char* joinSmallJsonSSmallArray (smallArrayt *self, smallJsont* delim); +/* + * join list, the elements are seperated with delim in the resulting string + * + * \param + * delim: string seperator + * \return + * joined string + * NULL when list or delim are NULL + */ +char* joinSmallJsonSSmallJson (smallJsont *self, smallJsont* delim); +/* + * join list, the elements are seperated with delim in the resulting string + * + * \param + * delim: string seperator + * \return + * joined string + * NULL when list or delim are NULL + */ +char* joinSmallJsonSSmallJson (smallJsont *self, smallJsont* delim); #define joinSmallStringSO(self, delim) (self)->f->joinSmallStringS(self, delim) #define joinSmallStringSG joinSmallStringSO /* @@ -62202,6 +63254,55 @@ char* joinSmallStringSSmallJson(smallJsont *self, smallStringt* delim); * NULL when list or delim are NULL */ char* joinSmallStringSSmallJson(smallJsont *self, smallStringt* delim); +#define zipSmallJsonSmallJsonO(self, array1, array2) (self)->f->zipSmallJsonSmallJson(self, array1, array2) +#define zipSmallJsonSmallJsonG zipSmallJsonSmallJsonO +/* + * zip arrays and store in array + * + * \return + * self all the elements from keys and values are in the array + * (some elements from keys and values are in the array or keys or values length is 0) + * NULL keys or values is NULL + */ +smallArrayt* zipSmallJsonSmallJsonSmallArray (smallArrayt *self, smallJsont *array1, smallJsont *array2); +/* + * zip arrays and store in array + * + * \return + * self all the elements from keys and values are in the array + * (some elements from keys and values are in the array or keys or values length is 0) + * NULL keys or values is NULL + */ +smallArrayt* zipSmallJsonSmallJsonSmallArray (smallArrayt *self, smallJsont *array1, smallJsont *array2); +/* + * zip arrays and store in dictionary + * + * \return + * 1 all the elements from keys and values are in the dictionary + * 0 some elements from keys and values are in the dictionary or keys or values length is 0 + * -1 keys or values is NULL + */ +smallDictt* zipSmallJsonSmallJsonSmallDict (smallDictt *self, smallJsont *keys, smallJsont *values); +#define zipSmallJsonCharO(self, array1, array2) (self)->f->zipSmallJsonChar(self, array1, array2) +#define zipSmallJsonCharG zipSmallJsonCharO +/* + * zip arrays and store in array + * + * \return + * self all the elements from keys and values are in the array + * (some elements from keys and values are in the array or keys or values length is 0) + * NULL keys or values is NULL + */ +smallArrayt* zipSmallJsonCharSmallArray (smallArrayt *self, smallJsont *array1, char **array2); +/* + * zip arrays and store in array + * + * \return + * self all the elements from keys and values are in the array + * (some elements from keys and values are in the array or keys or values length is 0) + * NULL keys or values is NULL + */ +smallArrayt* zipSmallJsonCharSmallArray (smallArrayt *self, smallJsont *array1, char **array2); #define zipArrayO(self, array1, array2) (self)->f->zipArray(self, array1, array2) #define zipArrayG zipArrayO /* @@ -63556,8 +64657,6 @@ smallStringt* setUint64SmallString (smallStringt* self, uint64_t p2); * false they differ */ bool equalCharSmallString (smallStringt *self, char c); -#define equalBaseO(self, p2) (self)->f->equalBase(self, p2) -#define equalBaseG equalBaseO #define equalBoolO(self, p2) (self)->f->equalBool(self, p2) #define equalBoolG equalBoolO #define equalDoubleO(self, p2) (self)->f->equalDouble(self, p2) @@ -63761,6 +64860,8 @@ int appendFileSmallStringSmallJson(smallJsont *self, smallStringt *filePath); * false failed, filePath or string are NULL */ int appendFileSmallStringSmallString(smallStringt *self, smallStringt *filePath); +#define equalSmallBoolO(self, value) (self)->f->equalSmallBool(self, value) +#define equalSmallBoolG equalSmallBoolO #define setClassDataFreeO(self, free) (self)->f->setClassDataFree(self, free) #define setClassDataFreeG setClassDataFreeO /* @@ -63958,6 +65059,73 @@ smallJsont* setArraycSmallJson (smallJsont *self, const char *key, char **array) * value an object */ smallJsont* setArraycSmallJson (smallJsont *self, const char *key, char **array); +#define setSmallBytesO(self, key, value) (self)->f->setSmallBytes(self, key, value) +#define setSmallBytesG setSmallBytesO +/* + * set element + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallDict has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setSmallBytesSmallDict (smallDictt *self, const char *key, smallBytest *value); +/* + * set element + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * key dictionary key + * \param + * value an object + */ +smallJsont* setSmallBytesSmallJson (smallJsont *self, const char *key, smallBytest *value); +/* + * set element + * +//:define pushHelp + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallArray has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * +//:end + * + * \param + * key dictionary key + * \param + * value an object + */ +smallJsont* setSmallBytesSmallJson (smallJsont *self, const char *key, smallBytest *value); #define setKCharO(self, key, value) (self)->f->setKChar(self, key, value) #define setKCharG setKCharO /* @@ -64211,6 +65379,29 @@ smallDictt* setArraycKCharSmallDict (smallDictt *self, char key, char **array); * value an object */ smallDictt* setSmallBoolKCharSmallDict (smallDictt *self, char key, smallBoolt *value); +#define setSmallBytesKCharO(self, key, value) (self)->f->setSmallBytesKChar(self, key, value) +#define setSmallBytesKCharG setSmallBytesKCharO +/* + * set element + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallDict has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setSmallBytesKCharSmallDict (smallDictt *self, char key, smallBytest *value); #define setSmallDoubleKCharO(self, key, value) (self)->f->setSmallDoubleKChar(self, key, value) #define setSmallDoubleKCharG setSmallDoubleKCharO /* @@ -64257,6 +65448,29 @@ smallDictt* setSmallDoubleKCharSmallDict (smallDictt *self, char key, smallDoubl * value an object */ smallDictt* setSmallIntKCharSmallDict (smallDictt *self, char key, smallIntt *value); +#define setSmallJsonKCharO(self, key, value) (self)->f->setSmallJsonKChar(self, key, value) +#define setSmallJsonKCharG setSmallJsonKCharO +/* + * set element + * + * When the sObject pointer is updated by realloc, the sObject + * pointer in the smallDict has to be updated with setP. + * The operations reallocating the sObjects are: + * smallDict: push, set, trim, merge, append + * smallArray: push, prepend + * smallBytes: push, pushBuffer + * smallJson: push, set + * smallString: append, prepend, replace, intTo, insert, color, readFile + * + * The object is duplicated for: + * char * + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setSmallJsonKCharSmallDict (smallDictt *self, char key, smallJsont *value); #define setSmallStringKCharO(self, key, string) (self)->f->setSmallStringKChar(self, key, string) #define setSmallStringKCharG setSmallStringKCharO /* @@ -64341,6 +65555,44 @@ smallJsont* setNFreeArraycSmallJson (smallJsont *self, const char *key, char **a * value an object */ smallJsont* setNFreeArraycSmallJson (smallJsont *self, const char *key, char **array); +#define setNFreeSmallBytesO(self, key, value) (self)->f->setNFreeSmallBytes(self, key, value) +#define setNFreeSmallBytesG setNFreeSmallBytesO +/* + * set element and free + * + * value container is freed at the end of the function + * Example: when setting a smallString, it is copied to an sStringt and then the object is freed + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setNFreeSmallBytesSmallDict (smallDictt *self, const char *key, smallBytest *value); +/* + * set element and free + * + * value is freed at the end of the function + * Example: when setting a string is copied to a smallStringt and then freed + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallJsont* setNFreeSmallBytesSmallJson (smallJsont *self, const char *key, smallBytest *value); +/* + * set element and free + * + * value is freed at the end of the function + * Example: when setting a string is copied to a smallStringt and then freed + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallJsont* setNFreeSmallBytesSmallJson (smallJsont *self, const char *key, smallBytest *value); #define setNFreeKCharO(self, key, value) (self)->f->setNFreeKChar(self, key, value) #define setNFreeKCharG setNFreeKCharO /* @@ -64439,6 +65691,20 @@ smallDictt* setNFreeArraycKCharSmallDict (smallDictt *self, char key, char **arr * value an object */ smallDictt* setNFreeSmallBoolKCharSmallDict (smallDictt *self, char key, smallBoolt *value); +#define setNFreeSmallBytesKCharO(self, key, value) (self)->f->setNFreeSmallBytesKChar(self, key, value) +#define setNFreeSmallBytesKCharG setNFreeSmallBytesKCharO +/* + * set element and free + * + * value container is freed at the end of the function + * Example: when setting a smallString, it is copied to an sStringt and then the object is freed + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setNFreeSmallBytesKCharSmallDict (smallDictt *self, char key, smallBytest *value); #define setNFreeSmallDoubleKCharO(self, key, value) (self)->f->setNFreeSmallDoubleKChar(self, key, value) #define setNFreeSmallDoubleKCharG setNFreeSmallDoubleKCharO /* @@ -64467,6 +65733,20 @@ smallDictt* setNFreeSmallDoubleKCharSmallDict (smallDictt *self, char key, small * value an object */ smallDictt* setNFreeSmallIntKCharSmallDict (smallDictt *self, char key, smallIntt *value); +#define setNFreeSmallJsonKCharO(self, key, value) (self)->f->setNFreeSmallJsonKChar(self, key, value) +#define setNFreeSmallJsonKCharG setNFreeSmallJsonKCharO +/* + * set element and free + * + * value container is freed at the end of the function + * Example: when setting a smallString, it is copied to an sStringt and then the object is freed + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setNFreeSmallJsonKCharSmallDict (smallDictt *self, char key, smallJsont *value); #define setNFreeSmallStringKCharO(self, key, string) (self)->f->setNFreeSmallStringKChar(self, key, string) #define setNFreeSmallStringKCharG setNFreeSmallStringKCharO /* @@ -64495,6 +65775,64 @@ smallDictt* setNFreeSmallStringKCharSmallDict (smallDictt *self, char key, small * value an object */ smallDictt* setNFreeSmallContainerKCharSmallDict(smallDictt *self, char key, smallContainert *container); +#define setPSmallJsonO(self, key, json) (self)->f->setPSmallJson(self, key, json) +#define setPSmallJsonG setPSmallJsonO +/* + * set pointer in element + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setPSmallJsonSmallDict (smallDictt *self, const char *key, smallJsont *json); +/* + * set pointer in element + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallJsont* setPSmallJsonSmallJson (smallJsont *self, const char *key, smallJsont *value); +/* + * set pointer in element + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallJsont* setPSmallJsonSmallJson (smallJsont *self, const char *key, smallJsont *value); +#define setNFreePSmallJsonO(self, key, json) (self)->f->setNFreePSmallJson(self, key, json) +#define setNFreePSmallJsonG setNFreePSmallJsonO +/* + * set pointer in element + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setNFreePSmallJsonSmallDict (smallDictt *self, const char *key, smallJsont *json); +/* + * set pointer in element + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallJsont* setNFreePSmallJsonSmallJson (smallJsont *self, const char *key, smallJsont *value); +/* + * set pointer in element + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallJsont* setNFreePSmallJsonSmallJson (smallJsont *self, const char *key, smallJsont *value); #define setPArrayKCharO(self, key, array) (self)->f->setPArrayKChar(self, key, array) #define setPArrayKCharG setPArrayKCharO /* @@ -64517,6 +65855,17 @@ smallDictt* setPArrayKCharSmallDict (smallDictt *self, char key, smallArrayt *ar * value an object */ smallDictt* setPDictKCharSmallDict (smallDictt *self, char key, smallDictt *dict); +#define setPSmallJsonKCharO(self, key, json) (self)->f->setPSmallJsonKChar(self, key, json) +#define setPSmallJsonKCharG setPSmallJsonKCharO +/* + * set pointer in element + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setPSmallJsonKCharSmallDict (smallDictt *self, char key, smallJsont *json); #define setPSmallStringKCharO(self, key, string) (self)->f->setPSmallStringKChar(self, key, string) #define setPSmallStringKCharG setPSmallStringKCharO /* @@ -64550,6 +65899,17 @@ smallDictt* setNFreePArrayKCharSmallDict (smallDictt *self, char key, smallArray * value an object */ smallDictt* setNFreePDictKCharSmallDict (smallDictt *self, char key, smallDictt *dict); +#define setNFreePSmallJsonKCharO(self, key, json) (self)->f->setNFreePSmallJsonKChar(self, key, json) +#define setNFreePSmallJsonKCharG setNFreePSmallJsonKCharO +/* + * set pointer in element + * + * \param + * key smallDictionary key + * \param + * value an object + */ +smallDictt* setNFreePSmallJsonKCharSmallDict (smallDictt *self, char key, smallJsont *json); #define setNFreePSmallStringKCharO(self, key, string) (self)->f->setNFreePSmallStringKChar(self, key, string) #define setNFreePSmallStringKCharG setNFreePSmallStringKCharO /* @@ -64561,6 +65921,35 @@ smallDictt* setNFreePDictKCharSmallDict (smallDictt *self, char key, smallDictt * value an object */ smallDictt* setNFreePSmallStringKCharSmallDict(smallDictt *self, char key, smallStringt *string); +#define getSmallBytesO(self, key) (self)->f->getSmallBytes(self, key) +#define getSmallBytesG getSmallBytesO +/* + * get element + * + * \param + * key smallDictionary key + * \return + * object or NULL + */ +smallBytest* getSmallBytesSmallDict (smallDictt *self, const char *key); +/* + * get element + * + * \param + * key dictionary key + * \return + * object or NULL + */ +smallBytest* getSmallBytesSmallJson (smallJsont *self, const char *key); +/* + * get element + * + * \param + * key dictionary key + * \return + * object or NULL + */ +smallBytest* getSmallBytesSmallJson (smallJsont *self, const char *key); #define getKCharO(self, key) (self)->f->getKChar(self, key) #define getKCharG getKCharO /* @@ -64759,6 +66148,17 @@ smallArrayt* getArrayKCharSmallDict (smallDictt *self, char key); * object or NULL */ smallBoolt* getSmallBoolKCharSmallDict (smallDictt *self, char key); +#define getSmallBytesKCharO(self, key) (self)->f->getSmallBytesKChar(self, key) +#define getSmallBytesKCharG getSmallBytesKCharO +/* + * get element + * + * \param + * key smallDictionary key + * \return + * object or NULL + */ +smallBytest* getSmallBytesKCharSmallDict (smallDictt *self, char key); #define getSmallDoubleKCharO(self, key) (self)->f->getSmallDoubleKChar(self, key) #define getSmallDoubleKCharG getSmallDoubleKCharO /* @@ -64781,6 +66181,17 @@ smallDoublet* getSmallDoubleKCharSmallDict (smallDictt *self, char key); * object or NULL */ smallIntt* getSmallIntKCharSmallDict (smallDictt *self, char key); +#define getSmallJsonKCharO(self, key) (self)->f->getSmallJsonKChar(self, key) +#define getSmallJsonKCharG getSmallJsonKCharO +/* + * get element + * + * \param + * key smallDictionary key + * \return + * object or NULL + */ +smallJsont* getSmallJsonKCharSmallDict (smallDictt *self, char key); #define getSmallStringKCharO(self, key) (self)->f->getSmallStringKChar(self, key) #define getSmallStringKCharG getSmallStringKCharO /* @@ -64814,6 +66225,35 @@ void* getVoidKCharSmallDict (smallDictt *self, char key); * object or NULL */ smallContainert* getSmallContainerKCharSmallDict(smallDictt *self, char key); +#define getNDupSmallBytesO(self, key) (self)->f->getNDupSmallBytes(self, key) +#define getNDupSmallBytesG getNDupSmallBytesO +/* + * get element and duplicate object + * + * \param + * key smallDictionary key + * \return + * duplicated object or NULL + */ +smallBytest* getNDupSmallBytesSmallDict (smallDictt *self, const char *key); +/* + * get duplicated object + * + * \param + * key dictionary key + * \return + * object or NULL + */ +smallBytest* getNDupSmallBytesSmallJson (smallJsont *self, const char *key); +/* + * get duplicated object + * + * \param + * key dictionary key + * \return + * object or NULL + */ +smallBytest* getNDupSmallBytesSmallJson (smallJsont *self, const char *key); #define getNDupKCharO(self, key) (self)->f->getNDupKChar(self, key) #define getNDupKCharG getNDupKCharO /* @@ -64946,6 +66386,17 @@ smallArrayt* getNDupArrayKCharSmallDict (smallDictt *self, char key); * duplicated object or NULL */ smallBoolt* getNDupSmallBoolKCharSmallDict (smallDictt *self, char key); +#define getNDupSmallBytesKCharO(self, key) (self)->f->getNDupSmallBytesKChar(self, key) +#define getNDupSmallBytesKCharG getNDupSmallBytesKCharO +/* + * get element and duplicate object + * + * \param + * key smallDictionary key + * \return + * duplicated object or NULL + */ +smallBytest* getNDupSmallBytesKCharSmallDict (smallDictt *self, char key); #define getNDupSmallDoubleKCharO(self, key) (self)->f->getNDupSmallDoubleKChar(self, key) #define getNDupSmallDoubleKCharG getNDupSmallDoubleKCharO /* @@ -64968,6 +66419,17 @@ smallDoublet* getNDupSmallDoubleKCharSmallDict (smallDictt *self, char key); * duplicated object or NULL */ smallIntt* getNDupSmallIntKCharSmallDict (smallDictt *self, char key); +#define getNDupSmallJsonKCharO(self, key) (self)->f->getNDupSmallJsonKChar(self, key) +#define getNDupSmallJsonKCharG getNDupSmallJsonKCharO +/* + * get element and duplicate object + * + * \param + * key smallDictionary key + * \return + * duplicated object or NULL + */ +smallJsont* getNDupSmallJsonKCharSmallDict (smallDictt *self, char key); #define getNDupSmallStringKCharO(self, key) (self)->f->getNDupSmallStringKChar(self, key) #define getNDupSmallStringKCharG getNDupSmallStringKCharO /* @@ -65384,6 +66846,41 @@ char* keyBySmallBoolSmallJson (smallJsont *self, smallBoolt *value); * NULL when array or value are NULL */ char* keyBySmallBoolSmallJson (smallJsont *self, smallBoolt *value); +#define keyBySmallBytesO(self, value) (self)->f->keyBySmallBytes(self, value) +#define keyBySmallBytesG keyBySmallBytesO +/* + * return key for object in dictionary + * + * \param + * value + * \return + * key + * NULL when the value is not found + * NULL when array or value are NULL + */ +char* keyBySmallBytesSmallDict (smallDictt *self, smallBytest *value); +/* + * return key for object in dictionary + * + * \param + * value + * \return + * key + * NULL when the value is not found + * NULL when array or value are NULL + */ +char* keyBySmallBytesSmallJson (smallJsont *self, smallBytest *value); +/* + * return key for object in dictionary + * + * \param + * value + * \return + * key + * NULL when the value is not found + * NULL when array or value are NULL + */ +char* keyBySmallBytesSmallJson (smallJsont *self, smallBytest *value); #define keyBySmallDoubleO(self, value) (self)->f->keyBySmallDouble(self, value) #define keyBySmallDoubleG keyBySmallDoubleO /* @@ -65938,6 +67435,17 @@ const char* iterKeySmallJson (smallJsont *self); * } */ const char* iterKeySmallJson (smallJsont *self); +#define zipSmallJsonVArrayO(self, keys, values) (self)->f->zipSmallJsonVArray(self, keys, values) +#define zipSmallJsonVArrayG zipSmallJsonVArrayO +/* + * zip arrays and store in dictionary + * + * \return + * 1 all the elements from keys and values are in the dictionary + * 0 some elements from keys and values are in the dictionary or keys or values length is 0 + * -1 keys or values is NULL + */ +smallDictt* zipSmallJsonVArraySmallDict (smallDictt *self, smallJsont *keys, char** values); #define zipArrayArrayO(self, keys, values) (self)->f->zipArrayArray(self, keys, values) #define zipArrayArrayG zipArrayArrayO /* @@ -66058,8 +67566,6 @@ char typeKCharSmallJson (smallJsont *self, char key); char typeKCharSmallJson (smallJsont *self, char key); #define equalChaO(self, p2) (self)->f->equalCha(self, p2) #define equalChaG equalChaO -#define equalSmallBoolO(self, p2) (self)->f->equalSmallBool(self, p2) -#define equalSmallBoolG equalSmallBoolO #define getTopTypeO(self) (self)->f->getTopType(self) #define getTopTypeG getTopTypeO /* @@ -66872,188 +68378,192 @@ smallStringt* getTopSmallStringSmallJson(smallJsont *self); * when the object is reallocated use setTop function to update the pointer in self */ smallStringt* getTopSmallStringSmallJson(smallJsont *self); -#define setPSmallJsonO(self, key, value) (self)->f->setPSmallJson(self, key, value) -#define setPSmallJsonG setPSmallJsonO +#define keyIsO(self, key) (self)->f->keyIs(self, key) +#define keyIsG keyIsO /* - * set pointer in element + * keyIs + * determine json key type: dictionary key, json path starting from an array or json path starting from a dictionary + * + * use the jsonPathResS[] array to convert the result to string (or use keyIsS to get the result as string directly) * * \param - * key smallDictionary key - * \param - * value an object + * key any key or path in self + * \return + * key type (enum int) + * 0 (KEY_IS_NULL in enum) when key is NULL */ -smallDictt* setPSmallJsonSmallDict (smallDictt *self, const char *key, smallJsont *json); +jsonPathRest keyIsSmallJson (smallJsont *self, const char *key); /* - * set pointer in element + * keyIs + * determine json key type: dictionary key, json path starting from an array or json path starting from a dictionary + * + * use the jsonPathResS[] array to convert the result to string (or use keyIsS to get the result as string directly) * * \param - * key smallDictionary key - * \param - * value an object + * key any key or path in self + * \return + * key type (enum int) + * 0 (KEY_IS_NULL in enum) when key is NULL */ -smallJsont* setPSmallJsonSmallJson (smallJsont *self, const char *key, smallJsont *value); +jsonPathRest keyIsSmallJson (smallJsont *self, const char *key); +#define keyIsSO(self, key) (self)->f->keyIsS(self, key) +#define keyIsSG keyIsSO /* - * set pointer in element + * keyIs returning result as string + * determine json key type: dictionary key, json path starting from an array or json path starting from a dictionary * * \param - * key smallDictionary key - * \param - * value an object + * key any key or path in self + * \return + * key type + * NULL when key is NULL */ -smallJsont* setPSmallJsonSmallJson (smallJsont *self, const char *key, smallJsont *value); -#define setNFreePSmallJsonO(self, key, value) (self)->f->setNFreePSmallJson(self, key, value) -#define setNFreePSmallJsonG setNFreePSmallJsonO +const char* keyIsSSmallJson (smallJsont *self, const char *key); /* - * set pointer in element + * keyIs returning result as string + * determine json key type: dictionary key, json path starting from an array or json path starting from a dictionary * * \param - * key smallDictionary key - * \param - * value an object + * key any key or path in self + * \return + * key type + * NULL when key is NULL */ -smallDictt* setNFreePSmallJsonSmallDict (smallDictt *self, const char *key, smallJsont *json); +const char* keyIsSSmallJson (smallJsont *self, const char *key); +#define makeKeyO(self, key) (self)->f->makeKey(self, key) +#define makeKeyG makeKeyO /* - * set pointer in element + * make json key + * escape " and \ characters and add quotes to prevent misinterpreting the key as a json path * * \param - * key smallDictionary key - * \param - * value an object + * key key to transform + * \return + * new dictionary key (you must free this buffer) + * NULL when key is NULL */ -smallJsont* setNFreePSmallJsonSmallJson (smallJsont *self, const char *key, smallJsont *value); +char* makeKeySmallJson (smallJsont *self, const char *key); /* - * set pointer in element + * make json key + * escape " and \ characters and add quotes to prevent misinterpreting the key as a json path * * \param - * key smallDictionary key - * \param - * value an object + * key key to transform + * \return + * new dictionary key (you must free this buffer) + * NULL when key is NULL */ -smallJsont* setNFreePSmallJsonSmallJson (smallJsont *self, const char *key, smallJsont *value); -#define setPAtSmallJsonO(self, index, value) (self)->f->setPAtSmallJson(self, index, value) -#define setPAtSmallJsonG setPAtSmallJsonO +char* makeKeySmallJson (smallJsont *self, const char *key); +#define iMakeKeyO(self, key) (self)->f->iMakeKey(self, key) +#define iMakeKeyG iMakeKeyO /* - * store pointer at given index (existing element is not freed) - * index can be negative + * make json key + * escape " and \ characters and add quotes to prevent misinterpreting the key as a json path * * \param - * index: index in array, must be inside the array - * string + * key pointer to key to transform (this parameter is reallocated) * \return - * 0 success - * -1 error - * - * Does nothing when: - * when array is NULL, index is not set correctly or s is NULL + * new dictionary key (you must free this buffer) + * NULL when key is NULL */ -smallArrayt* setPAtSmallJsonSmallArray (smallArrayt *self, intmax_t index, smallJsont *json); +char* iMakeKeySmallJson (smallJsont *self, char **key); /* - * store pointer at given index (existing element is not freed) - * index can be negative + * make json key + * escape " and \ characters and add quotes to prevent misinterpreting the key as a json path * * \param - * index: index in array, must be inside the array - * string + * key pointer to key to transform (this parameter is reallocated) * \return - * 0 success - * -1 error - * - * Does nothing when: - * when array is NULL, index is not set correctly or s is NULL + * new dictionary key (you must free this buffer) + * NULL when key is NULL */ -smallArrayt* setPAtSmallJsonSmallArray (smallArrayt *self, intmax_t index, smallJsont *json); +char* iMakeKeySmallJson (smallJsont *self, char **key); +#define bMakeKeyO(self, dest, key) (self)->f->bMakeKey(self, dest, key) +#define bMakeKeyG bMakeKeyO /* - * store pointer at given index (existing element is not freed) - * index can be negative + * make json key + * escape " and \ characters and add quotes to prevent misinterpreting the key as a json path + * the result is stored dest, dest must be big enough (at least makeKeyLen+1) * * \param - * index: index in array, must be inside the array - * string + * key key to transform + * \param + * dest result buffer * \return - * 0 success - * -1 error - * - * Does nothing when: - * when array is NULL, index is not set correctly or s is NULL + * dictionary key in dest + * NULL when key is NULL */ -smallJsont* setPAtSmallJsonSmallJson (smallJsont *self, intmax_t index, smallJsont *value); +char* bMakeKeySmallJson (smallJsont *self, char *dest, const char *key); /* - * store pointer at given index (existing element is not freed) - * index can be negative + * make json key + * escape " and \ characters and add quotes to prevent misinterpreting the key as a json path + * the result is stored dest, dest must be big enough (at least makeKeyLen+1) * * \param - * index: index in array, must be inside the array - * string + * key key to transform + * \param + * dest result buffer * \return - * 0 success - * -1 error - * - * Does nothing when: - * when array is NULL, index is not set correctly or s is NULL + * dictionary key in dest + * NULL when key is NULL */ -smallJsont* setPAtSmallJsonSmallJson (smallJsont *self, intmax_t index, smallJsont *value); -#define setPAtNFreeSmallJsonO(self, index, value) (self)->f->setPAtNFreeSmallJson(self, index, value) -#define setPAtNFreeSmallJsonG setPAtNFreeSmallJsonO +char* bMakeKeySmallJson (smallJsont *self, char *dest, const char *key); +#define bLMakeKeyO(self, dest, size, key) (self)->f->bLMakeKey(self, dest, size, key) +#define bLMakeKeyG bLMakeKeyO /* - * store pointer at given index (existing element is not freed) - * index can be negative + * make json key + * escape " and \ characters and add quotes to prevent misinterpreting the key as a json path + * the result is stored dest, dest size must be big enough (at least makeKeyLen+1) * * \param - * index: index in array, must be inside the array - * string + * key key to transform + * \param + * dest result buffer + * \param + * size dest buffer size * \return - * 0 success - * -1 error - * - * Does nothing when: - * when array is NULL, index is not set correctly or s is NULL + * dictionary key in dest + * NULL when key is NULL */ -smallArrayt* setPAtNFreeSmallJsonSmallArray (smallArrayt *self, intmax_t index, smallJsont *json); +char* bLMakeKeySmallJson (smallJsont *self, char *dest, size_t size, const char *key); /* - * store pointer at given index (existing element is not freed) - * index can be negative + * make json key + * escape " and \ characters and add quotes to prevent misinterpreting the key as a json path + * the result is stored dest, dest size must be big enough (at least makeKeyLen+1) * * \param - * index: index in array, must be inside the array - * string + * key key to transform + * \param + * dest result buffer + * \param + * size dest buffer size * \return - * 0 success - * -1 error - * - * Does nothing when: - * when array is NULL, index is not set correctly or s is NULL + * dictionary key in dest + * NULL when key is NULL */ -smallArrayt* setPAtNFreeSmallJsonSmallArray (smallArrayt *self, intmax_t index, smallJsont *json); +char* bLMakeKeySmallJson (smallJsont *self, char *dest, size_t size, const char *key); +#define makeKeyLenO(self, key) (self)->f->makeKeyLen(self, key) +#define makeKeyLenG makeKeyLenO /* - * store pointer at given index (existing element is not freed) - * index can be negative + * return key length after running makeKey * * \param - * index: index in array, must be inside the array - * string + * key key to transform * \return - * 0 success - * -1 error - * - * Does nothing when: - * when array is NULL, index is not set correctly or s is NULL + * dictionary key length + * 0 when key is NULL */ -smallJsont* setPAtNFreeSmallJsonSmallJson (smallJsont *self, intmax_t index, smallJsont *value); +size_t makeKeyLenSmallJson(smallJsont *self, const char *key); /* - * store pointer at given index (existing element is not freed) - * index can be negative + * return key length after running makeKey * * \param - * index: index in array, must be inside the array - * string + * key key to transform * \return - * 0 success - * -1 error - * - * Does nothing when: - * when array is NULL, index is not set correctly or s is NULL + * dictionary key length + * 0 when key is NULL */ -smallJsont* setPAtNFreeSmallJsonSmallJson (smallJsont *self, intmax_t index, smallJsont *value); +size_t makeKeyLenSmallJson(smallJsont *self, const char *key); #define mergeDictO(self, smallDict) (self)->f->mergeDict(self, smallDict) #define mergeDictG mergeDictO /* @@ -68790,50 +70300,6 @@ smallJsont* icReplaceCharJsonSmallJson (smallJsont *self, char olds, smallJsont * -1 s not modified when self buffer is NULL or empty and when olds is empty */ smallJsont* icReplaceCharJsonSmallJson (smallJsont *self, char olds, smallJsont *news, size_t max); -#define equalSmallJsonO(self, p2) (self)->f->equalSmallJson(self, p2) -#define equalSmallJsonG equalSmallJsonO -/* - * compare each element of self and list - * - * \param - * list - * \return - * true the lists have identical elements - * false they differ - */ -bool equalSmallJsonSmallJson (smallJsont* self, smallJsont* p2); -/* - * compare each element of self and list - * - * \param - * list - * \return - * true the lists have identical elements - * false they differ - */ -bool equalSmallJsonSmallJson (smallJsont* self, smallJsont* p2); -#define icEqualSmallJsonO(self, string) (self)->f->icEqualSmallJson(self, string) -#define icEqualSmallJsonG icEqualSmallJsonO -/* - * ignore case and compare each element of self and list - * - * \param - * list - * \return - * true the lists have identical elements - * false they differ - */ -bool icEqualSmallJsonSmallJson (smallJsont *self, smallJsont *string); -/* - * ignore case and compare each element of self and list - * - * \param - * list - * \return - * true the lists have identical elements - * false they differ - */ -bool icEqualSmallJsonSmallJson (smallJsont *self, smallJsont *string); #define icEqualSmallStringO(self, string) (self)->f->icEqualSmallString(self, string) #define icEqualSmallStringG icEqualSmallStringO #define icEqualSO(self, string) (self)->f->icEqualS(self, string) @@ -70198,6 +71664,170 @@ smallJsont* extractCharCharSmallJson(smallJsont *self, char delim1, char delim2) * NULL when list or delim are NULL */ smallArrayt* extractCharCharSmallString(smallStringt *self, char delim1, char delim2); +#define extractSmallJsonSmallJsonO(self, delim1, delim2) (self)->f->extractSmallJsonSmallJson(self, delim1, delim2) +#define extractSmallJsonSmallJsonG extractSmallJsonSmallJsonO +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallJsonSmallJsonSmallJson (smallJsont *self, smallJsont* delim1, smallJsont* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallJsonSmallJsonSmallJson (smallJsont *self, smallJsont* delim1, smallJsont* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* extractSmallJsonSmallJsonSmallString (smallStringt *self, smallJsont* delim1, smallJsont* delim2); +#define extractSmallStringSmallJsonO(self, delim1, delim2) (self)->f->extractSmallStringSmallJson(self, delim1, delim2) +#define extractSmallStringSmallJsonG extractSmallStringSmallJsonO +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallStringSmallJsonSmallJson (smallJsont *self, smallStringt* delim1, smallJsont* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallStringSmallJsonSmallJson (smallJsont *self, smallStringt* delim1, smallJsont* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* extractSmallStringSmallJsonSmallString (smallStringt *self, smallStringt* delim1, smallJsont* delim2); +#define extractSSmallJsonO(self, delim1, delim2) (self)->f->extractSSmallJson(self, delim1, delim2) +#define extractSSmallJsonG extractSSmallJsonO +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSSmallJsonSmallJson (smallJsont *self, const char* delim1, smallJsont* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSSmallJsonSmallJson (smallJsont *self, const char* delim1, smallJsont* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* extractSSmallJsonSmallString (smallStringt *self, const char* delim1, smallJsont* delim2); +#define extractCharSmallJsonO(self, delim1, delim2) (self)->f->extractCharSmallJson(self, delim1, delim2) +#define extractCharSmallJsonG extractCharSmallJsonO +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractCharSmallJsonSmallJson (smallJsont *self, char delim1, smallJsont* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractCharSmallJsonSmallJson (smallJsont *self, char delim1, smallJsont* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* extractCharSmallJsonSmallString (smallStringt *self, char delim1, smallJsont* delim2); #define extractSmallStringSmallStringO(self, delim1, delim2) (self)->f->extractSmallStringSmallString(self, delim1, delim2) #define extractSmallStringSmallStringG extractSmallStringSmallStringO /* @@ -70666,6 +72296,170 @@ smallJsont* icExtractCharCharSmallJson(smallJsont *self, char delim1, char delim * NULL when list or delim are NULL */ smallArrayt* icExtractCharCharSmallString(smallStringt *self, char delim1, char delim2); +#define icExtractSmallJsonSmallJsonO(self, delim1, delim2) (self)->f->icExtractSmallJsonSmallJson(self, delim1, delim2) +#define icExtractSmallJsonSmallJsonG icExtractSmallJsonSmallJsonO +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallJsonSmallJsonSmallJson (smallJsont *self, smallJsont* delim1, smallJsont* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallJsonSmallJsonSmallJson (smallJsont *self, smallJsont* delim1, smallJsont* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* icExtractSmallJsonSmallJsonSmallString (smallStringt *self, smallJsont* delim1, smallJsont* delim2); +#define icExtractSmallStringSmallJsonO(self, delim1, delim2) (self)->f->icExtractSmallStringSmallJson(self, delim1, delim2) +#define icExtractSmallStringSmallJsonG icExtractSmallStringSmallJsonO +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallStringSmallJsonSmallJson (smallJsont *self, smallStringt* delim1, smallJsont* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallStringSmallJsonSmallJson (smallJsont *self, smallStringt* delim1, smallJsont* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* icExtractSmallStringSmallJsonSmallString (smallStringt *self, smallStringt* delim1, smallJsont* delim2); +#define icExtractSSmallJsonO(self, delim1, delim2) (self)->f->icExtractSSmallJson(self, delim1, delim2) +#define icExtractSSmallJsonG icExtractSSmallJsonO +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSSmallJsonSmallJson (smallJsont *self, const char* delim1, smallJsont* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSSmallJsonSmallJson (smallJsont *self, const char* delim1, smallJsont* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* icExtractSSmallJsonSmallString (smallStringt *self, const char* delim1, smallJsont* delim2); +#define icExtractCharSmallJsonO(self, delim1, delim2) (self)->f->icExtractCharSmallJson(self, delim1, delim2) +#define icExtractCharSmallJsonG icExtractCharSmallJsonO +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractCharSmallJsonSmallJson (smallJsont *self, char delim1, smallJsont* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractCharSmallJsonSmallJson (smallJsont *self, char delim1, smallJsont* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* icExtractCharSmallJsonSmallString (smallStringt *self, char delim1, smallJsont* delim2); #define icExtractSmallStringSmallStringO(self, delim1, delim2) (self)->f->icExtractSmallStringSmallString(self, delim1, delim2) #define icExtractSmallStringSmallStringG icExtractSmallStringSmallStringO /* @@ -71466,6 +73260,17 @@ smallStringt* appendCharSmallString (smallStringt *self, char c); * smallString smallString to append at the end of self */ smallStringt* appendNSmashSSmallString (smallStringt *self, char *string); +#define prependNSmashSmallJsonO(self, json) (self)->f->prependNSmashSmallJson(self, json) +#define prependNSmashSmallJsonG prependNSmashSmallJsonO +/* + * prepend string + * append string at the beginning of the list + * when string is NULL, the operation is canceled + * + * \param + * string: string to prepend + */ +smallStringt* prependNSmashSmallJsonSmallString(smallStringt *self, smallJsont *json); #define prependNSmashSO(self, string) (self)->f->prependNSmashS(self, string) #define prependNSmashSG prependNSmashSO /* @@ -71477,6 +73282,222 @@ smallStringt* appendNSmashSSmallString (smallStringt *self, char *string); * string: string to prepend */ smallStringt* prependNSmashSSmallString (smallStringt *self, char *string); +#define replaceSmallJsonSmallJsonO(self, olds, news, max) (self)->f->replaceSmallJsonSmallJson(self, olds, news, max) +#define replaceSmallJsonSmallJsonG replaceSmallJsonSmallJsonO +/* + * replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* replaceSmallJsonSmallJsonSmallString (smallStringt *self, smallJsont *olds, smallJsont *news, size_t max); +#define replaceSmallJsonSmallStringO(self, olds, news, max) (self)->f->replaceSmallJsonSmallString(self, olds, news, max) +#define replaceSmallJsonSmallStringG replaceSmallJsonSmallStringO +/* + * replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* replaceSmallJsonSmallStringSmallString (smallStringt *self, smallJsont *olds, smallStringt *news, size_t max); +#define replaceSmallJsonSO(self, olds, news, max) (self)->f->replaceSmallJsonS(self, olds, news, max) +#define replaceSmallJsonSG replaceSmallJsonSO +/* + * replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* replaceSmallJsonSSmallString (smallStringt *self, smallJsont *olds, const char *news, size_t max); +#define replaceSmallJsonCharO(self, olds, news, max) (self)->f->replaceSmallJsonChar(self, olds, news, max) +#define replaceSmallJsonCharG replaceSmallJsonCharO +/* + * replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* replaceSmallJsonCharSmallString (smallStringt *self, smallJsont *olds, char news, size_t max); +#define replaceSSmallJsonO(self, olds, news, max) (self)->f->replaceSSmallJson(self, olds, news, max) +#define replaceSSmallJsonG replaceSSmallJsonO +/* + * replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* replaceSSmallJsonSmallString (smallStringt *self, const char *olds, smallJsont *news, size_t max); +#define replaceCharSmallJsonO(self, olds, news, max) (self)->f->replaceCharSmallJson(self, olds, news, max) +#define replaceCharSmallJsonG replaceCharSmallJsonO +/* + * replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* replaceCharSmallJsonSmallString (smallStringt *self, char olds, smallJsont *news, size_t max); +#define icReplaceSmallJsonSmallJsonO(self, olds, news, max) (self)->f->icReplaceSmallJsonSmallJson(self, olds, news, max) +#define icReplaceSmallJsonSmallJsonG icReplaceSmallJsonSmallJsonO +/* + * ignore case replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* icReplaceSmallJsonSmallJsonSmallString (smallStringt *self, smallJsont *olds, smallJsont *news, size_t max); +#define icReplaceSmallJsonSmallStringO(self, olds, news, max) (self)->f->icReplaceSmallJsonSmallString(self, olds, news, max) +#define icReplaceSmallJsonSmallStringG icReplaceSmallJsonSmallStringO +/* + * ignore case replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* icReplaceSmallJsonSmallStringSmallString (smallStringt *self, smallJsont *olds, smallStringt *news, size_t max); +#define icReplaceSmallJsonSO(self, olds, news, max) (self)->f->icReplaceSmallJsonS(self, olds, news, max) +#define icReplaceSmallJsonSG icReplaceSmallJsonSO +/* + * ignore case replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* icReplaceSmallJsonSSmallString (smallStringt *self, smallJsont *olds, const char *news, size_t max); +#define icReplaceSmallJsonCharO(self, olds, news, max) (self)->f->icReplaceSmallJsonChar(self, olds, news, max) +#define icReplaceSmallJsonCharG icReplaceSmallJsonCharO +/* + * ignore case replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* icReplaceSmallJsonCharSmallString (smallStringt *self, smallJsont *olds, char news, size_t max); +#define icReplaceSSmallJsonO(self, olds, news, max) (self)->f->icReplaceSSmallJson(self, olds, news, max) +#define icReplaceSSmallJsonG icReplaceSSmallJsonO +/* + * ignore case replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* icReplaceSSmallJsonSmallString (smallStringt *self, const char *olds, smallJsont *news, size_t max); +#define icReplaceCharSmallJsonO(self, olds, news, max) (self)->f->icReplaceCharSmallJson(self, olds, news, max) +#define icReplaceCharSmallJsonG icReplaceCharSmallJsonO +/* + * ignore case replace + * the olds smallString is replaced with the news smallString max times in the result + * 0 for max means replace all olds smallStrings + * + * \param + * olds: old smallString to be replaced in self + * \param + * news: new smallString replacing olds in self + * \param + * max: number of times to replace olds, 0 to replace all found olds + * \return + * 0 modified self + * -1 s not modified when self buffer is NULL or empty and when olds is empty + */ +smallStringt* icReplaceCharSmallJsonSmallString (smallStringt *self, char olds, smallJsont *news, size_t max); #define equalSO(self, string) (self)->f->equalS(self, string) #define equalSG equalSO /* @@ -71490,6 +73511,107 @@ smallStringt* prependNSmashSSmallString (smallStringt *self, char *string); * false they differ */ bool equalSSmallString (smallStringt *self, const char *string); +#define equalISmallJsonO(self, string, index) (self)->f->equalISmallJson(self, string, index) +#define equalISmallJsonG equalISmallJsonO +/* + * equal at Index + * compare self at index to smallString + * + * \param + * smallString to compare + * \return + * true smallString at index is equal to string + * false they differ + */ +bool equalISmallJsonSmallString (smallStringt *self, smallJsont *string, intmax_t index); +#define startsWithSmallJsonO(self, string) (self)->f->startsWithSmallJson(self, string) +#define startsWithSmallJsonG startsWithSmallJsonO +/* + * starts With String + * compare start of self with string + * + * \param + * string + * \return + * true when self starts with string + * false for other cases + */ +bool startsWithSmallJsonSmallString (smallStringt *self, smallJsont *string); +#define endsWithSmallJsonO(self, string) (self)->f->endsWithSmallJson(self, string) +#define endsWithSmallJsonG endsWithSmallJsonO +/* + * ends With String + * compare end of self with string + * + * \param + * string + * \return + * true when self ends with string2 + * false for other cases + */ +bool endsWithSmallJsonSmallString (smallStringt *self, smallJsont *string); +#define countSmallJsonO(self, string) (self)->f->countSmallJson(self, string) +#define countSmallJsonG countSmallJsonO +/* + * count String + * count number of (non-overlapping) occurrences of a substring + * + * Example: + * assert(countS("aaa aaa", "a") == 6); + * assert(countS("aaa aaa", "ab") == 0); + * assert(countS("aaa aaa", "aa") == 2); + * + * \param + * string + * \return + * string count + * -1 when there is an error + */ +ssize_t countSmallJsonSmallString (smallStringt *self, smallJsont *string); +#define icStartsWithSmallJsonO(self, string) (self)->f->icStartsWithSmallJson(self, string) +#define icStartsWithSmallJsonG icStartsWithSmallJsonO +/* + * ignore case starts With String + * compare start of self with string + * + * \param + * string + * \return + * true when self starts with string + * false for other cases + */ +bool icStartsWithSmallJsonSmallString (smallStringt *self, smallJsont *string); +#define icEndsWithSmallJsonO(self, string) (self)->f->icEndsWithSmallJson(self, string) +#define icEndsWithSmallJsonG icEndsWithSmallJsonO +/* + * ignore case ends With String + * compare end of self with string + * + * \param + * string + * \return + * true when self ends with string2 + * false for other cases + */ +bool icEndsWithSmallJsonSmallString (smallStringt *self, smallJsont *string); +#define icCountSmallJsonO(self, string) (self)->f->icCountSmallJson(self, string) +#define icCountSmallJsonG icCountSmallJsonO +/* + * ignore case count String + * count number of (non-overlapping) occurrences of a substring + * + * Example: + * assert(countS("aaa aaa", "a") == 6); + * assert(countS("aaa aaa", "ab") == 0); + * assert(countS("aaa aaa", "aa") == 2); + * + * \param + * string + * \return + * string count + * -1 when there is an error + */ +ssize_t icCountSmallJsonSmallString (smallStringt *self, smallJsont *string); #define insertNFreeO(self, index, toInsert) (self)->f->insertNFree(self, index, toInsert) #define insertNFreeG insertNFreeO /* @@ -71508,10 +73630,326 @@ bool equalSSmallString (smallStringt *self, const char *string); * NULL unchanged smallString when smallString is NULL or invalid index */ smallStringt* insertNFreeSmallString (smallStringt *self, intmax_t index, smallStringt *toInsert); +#define splitSmallJsonSO(self, delim) (self)->f->splitSmallJsonS(self, delim) +#define splitSmallJsonSG splitSmallJsonSO +/* + * split self with delim smallString + * return list + * + * \param + * delim delimiter + * \return + * list of tokens + * NULL when list or delim are NULL + */ +char** splitSmallJsonSSmallJson (smallJsont *self, smallJsont *delim); +/* + * split self with delim smallString + * return list + * + * \param + * delim delimiter + * \return + * list of tokens + * NULL when list or delim are NULL + */ +char** splitSmallJsonSSmallJson (smallJsont *self, smallJsont *delim); +/* + * split self with delim smallString + * return list + * + * \param + * delim delimiter + * \return + * list of tokens + * NULL when list or delim are NULL + */ +char** splitSmallJsonSSmallString (smallStringt *self, smallJsont *delim); #define splitSSmallStringO(self, delim) (self)->f->splitSSmallString(self, delim) #define splitSSmallStringG splitSSmallStringO +#define extractSmallJsonSmallStringO(self, delim1, delim2) (self)->f->extractSmallJsonSmallString(self, delim1, delim2) +#define extractSmallJsonSmallStringG extractSmallJsonSmallStringO +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallJsonSmallStringSmallJson (smallJsont *self, smallJsont* delim1, smallStringt* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallJsonSmallStringSmallJson (smallJsont *self, smallJsont* delim1, smallStringt* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* extractSmallJsonSmallStringSmallString (smallStringt *self, smallJsont* delim1, smallStringt* delim2); +#define extractSmallJsonSO(self, delim1, delim2) (self)->f->extractSmallJsonS(self, delim1, delim2) +#define extractSmallJsonSG extractSmallJsonSO +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallJsonSSmallJson (smallJsont *self, smallJsont* delim1, const char* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallJsonSSmallJson (smallJsont *self, smallJsont* delim1, const char* delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* extractSmallJsonSSmallString (smallStringt *self, smallJsont* delim1, const char* delim2); +#define extractSmallJsonCharO(self, delim1, delim2) (self)->f->extractSmallJsonChar(self, delim1, delim2) +#define extractSmallJsonCharG extractSmallJsonCharO +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallJsonCharSmallJson (smallJsont *self, smallJsont* delim1, char delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* extractSmallJsonCharSmallJson (smallJsont *self, smallJsont* delim1, char delim2); +/* + * extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* extractSmallJsonCharSmallString (smallStringt *self, smallJsont* delim1, char delim2); +#define icSplitSmallJsonSO(self, delim) (self)->f->icSplitSmallJsonS(self, delim) +#define icSplitSmallJsonSG icSplitSmallJsonSO +/* + * ignore case split self with delim smallString + * return list + * + * \param + * delim delimiter + * \return + * list of tokens + * NULL when list or delim are NULL + */ +char** icSplitSmallJsonSSmallJson (smallJsont *self, smallJsont *delim); +/* + * ignore case split self with delim smallString + * return list + * + * \param + * delim delimiter + * \return + * list of tokens + * NULL when list or delim are NULL + */ +char** icSplitSmallJsonSSmallJson (smallJsont *self, smallJsont *delim); +/* + * ignore case split self with delim smallString + * return list + * + * \param + * delim delimiter + * \return + * list of tokens + * NULL when list or delim are NULL + */ +char** icSplitSmallJsonSSmallString (smallStringt *self, smallJsont *delim); #define icSplitSSmallStringO(self, delim) (self)->f->icSplitSSmallString(self, delim) #define icSplitSSmallStringG icSplitSSmallStringO +#define icExtractSmallJsonSmallStringO(self, delim1, delim2) (self)->f->icExtractSmallJsonSmallString(self, delim1, delim2) +#define icExtractSmallJsonSmallStringG icExtractSmallJsonSmallStringO +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallJsonSmallStringSmallJson (smallJsont *self, smallJsont* delim1, smallStringt* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallJsonSmallStringSmallJson (smallJsont *self, smallJsont* delim1, smallStringt* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* icExtractSmallJsonSmallStringSmallString (smallStringt *self, smallJsont* delim1, smallStringt* delim2); +#define icExtractSmallJsonSO(self, delim1, delim2) (self)->f->icExtractSmallJsonS(self, delim1, delim2) +#define icExtractSmallJsonSG icExtractSmallJsonSO +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallJsonSSmallJson (smallJsont *self, smallJsont* delim1, const char* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallJsonSSmallJson (smallJsont *self, smallJsont* delim1, const char* delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* icExtractSmallJsonSSmallString (smallStringt *self, smallJsont* delim1, const char* delim2); +#define icExtractSmallJsonCharO(self, delim1, delim2) (self)->f->icExtractSmallJsonChar(self, delim1, delim2) +#define icExtractSmallJsonCharG icExtractSmallJsonCharO +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallJsonCharSmallJson (smallJsont *self, smallJsont* delim1, char delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallJsont* icExtractSmallJsonCharSmallJson (smallJsont *self, smallJsont* delim1, char delim2); +/* + * ignore case extract string between delim1 and delim2 strings + * return list + * + * \param + * string to split + * delim1 first delimiter + * delim2 second delimiter, has to be different from delim1 + * \return + * list of tokens + * NULL when list or delim are NULL + */ +smallArrayt* icExtractSmallJsonCharSmallString (smallStringt *self, smallJsont* delim1, char delim2); /* * define for unused values in generics */ diff --git a/release/libsheepyObject.h b/release/libsheepyObject.h @@ -3092,7 +3092,7 @@ void finishManyOF(void *paramType, ...); char *: readFileSmallStringG, \ const char*: readFileSmallStringG, \ FILE *: readStreamSmallStringG, \ - smallJsont *: readFileSmallJsonSmallStringG \ + smallJsont *: readFileSmallJsonSmallStringG, \ smallStringt *: readFileSmallStringSmallStringG \ ), \ smallJsont *: _Generic(path, \ @@ -6791,6 +6791,12 @@ void finishManyOF(void *paramType, ...); #define pushNFreeArraycO(self, array) (self)->f->pushNFreeArrayc(self, array) #define pushNFreeArraycG pushNFreeArraycO +#define pushNFreeSmallBytesO(self, value) (self)->f->pushNFreeSmallBytes(self, value) +#define pushNFreeSmallBytesG pushNFreeSmallBytesO + +#define popSmallBytesO(self) (self)->f->popSmallBytes(self) +#define popSmallBytesG popSmallBytesO + #define popNumO(self) (self)->f->popNum(self) #define popNumG popNumO @@ -6824,6 +6830,9 @@ void finishManyOF(void *paramType, ...); #define prependSmallBoolO(self, value) (self)->f->prependSmallBool(self, value) #define prependSmallBoolG prependSmallBoolO +#define prependSmallBytesO(self, value) (self)->f->prependSmallBytes(self, value) +#define prependSmallBytesG prependSmallBytesO + #define prependSmallDoubleO(self, value) (self)->f->prependSmallDouble(self, value) #define prependSmallDoubleG prependSmallDoubleO @@ -6851,6 +6860,9 @@ void finishManyOF(void *paramType, ...); #define prependNFreeSmallBoolO(self, value) (self)->f->prependNFreeSmallBool(self, value) #define prependNFreeSmallBoolG prependNFreeSmallBoolO +#define prependNFreeSmallBytesO(self, value) (self)->f->prependNFreeSmallBytes(self, value) +#define prependNFreeSmallBytesG prependNFreeSmallBytesO + #define prependNFreeSmallDoubleO(self, value) (self)->f->prependNFreeSmallDouble(self, value) #define prependNFreeSmallDoubleG prependNFreeSmallDoubleO @@ -6896,6 +6908,9 @@ void finishManyOF(void *paramType, ...); #define dequeueSmallBoolO(self) (self)->f->dequeueSmallBool(self) #define dequeueSmallBoolG dequeueSmallBoolO +#define dequeueSmallBytesO(self) (self)->f->dequeueSmallBytes(self) +#define dequeueSmallBytesG dequeueSmallBytesO + #define dequeueSmallDoubleO(self) (self)->f->dequeueSmallDouble(self) #define dequeueSmallDoubleG dequeueSmallDoubleO @@ -6950,6 +6965,9 @@ void finishManyOF(void *paramType, ...); #define injectSmallBoolO(self, index, toInject) (self)->f->injectSmallBool(self, index, toInject) #define injectSmallBoolG injectSmallBoolO +#define injectSmallBytesO(self, index, toInject) (self)->f->injectSmallBytes(self, index, toInject) +#define injectSmallBytesG injectSmallBytesO + #define injectSmallDoubleO(self, index, toInject) (self)->f->injectSmallDouble(self, index, toInject) #define injectSmallDoubleG injectSmallDoubleO @@ -6977,6 +6995,9 @@ void finishManyOF(void *paramType, ...); #define injectNFreeSmallBoolO(self, index, toInject) (self)->f->injectNFreeSmallBool(self, index, toInject) #define injectNFreeSmallBoolG injectNFreeSmallBoolO +#define injectNFreeSmallBytesO(self, index, toInject) (self)->f->injectNFreeSmallBytes(self, index, toInject) +#define injectNFreeSmallBytesG injectNFreeSmallBytesO + #define injectNFreeSmallDoubleO(self, index, toInject) (self)->f->injectNFreeSmallDouble(self, index, toInject) #define injectNFreeSmallDoubleG injectNFreeSmallDoubleO @@ -6995,18 +7016,42 @@ void finishManyOF(void *paramType, ...); #define equalO(self, array) (self)->f->equal(self, array) #define equalG equalO +#define equalSmallJsonO(self, array) (self)->f->equalSmallJson(self, array) +#define equalSmallJsonG equalSmallJsonO + +#define equalArrayO(self, p2) (self)->f->equalArray(self, p2) +#define equalArrayG equalArrayO + +#define equalBaseO(self, p2) (self)->f->equalBase(self, p2) +#define equalBaseG equalBaseO + #define icEqualO(self, array) (self)->f->icEqual(self, array) #define icEqualG icEqualO +#define icEqualSmallJsonO(self, array) (self)->f->icEqualSmallJson(self, array) +#define icEqualSmallJsonG icEqualSmallJsonO + #define setAtCharO(self, index, c) (self)->f->setAtChar(self, index, c) #define setAtCharG setAtCharO #define setAtArraycO(self, index, array) (self)->f->setAtArrayc(self, index, array) #define setAtArraycG setAtArraycO +#define setAtSmallBytesO(self, index, value) (self)->f->setAtSmallBytes(self, index, value) +#define setAtSmallBytesG setAtSmallBytesO + #define setAtNFreeArraycO(self, index, array) (self)->f->setAtNFreeArrayc(self, index, array) #define setAtNFreeArraycG setAtNFreeArraycO +#define setAtNFreeSmallBytesO(self, index, value) (self)->f->setAtNFreeSmallBytes(self, index, value) +#define setAtNFreeSmallBytesG setAtNFreeSmallBytesO + +#define setPAtSmallJsonO(self, index, json) (self)->f->setPAtSmallJson(self, index, json) +#define setPAtSmallJsonG setPAtSmallJsonO + +#define setPAtNFreeSmallJsonO(self, index, json) (self)->f->setPAtNFreeSmallJson(self, index, json) +#define setPAtNFreeSmallJsonG setPAtNFreeSmallJsonO + #define hasUndefinedO(self, undefined) (self)->f->hasUndefined(self, undefined) #define hasUndefinedG hasUndefinedO @@ -7037,6 +7082,9 @@ void finishManyOF(void *paramType, ...); #define hasSmallBoolO(self, value) (self)->f->hasSmallBool(self, value) #define hasSmallBoolG hasSmallBoolO +#define hasSmallBytesO(self, value) (self)->f->hasSmallBytes(self, value) +#define hasSmallBytesG hasSmallBytesO + #define hasSmallDoubleO(self, value) (self)->f->hasSmallDouble(self, value) #define hasSmallDoubleG hasSmallDoubleO @@ -7076,6 +7124,9 @@ void finishManyOF(void *paramType, ...); #define indexOfSmallBoolO(self, value) (self)->f->indexOfSmallBool(self, value) #define indexOfSmallBoolG indexOfSmallBoolO +#define indexOfSmallBytesO(self, value) (self)->f->indexOfSmallBytes(self, value) +#define indexOfSmallBytesG indexOfSmallBytesO + #define indexOfSmallDoubleO(self, value) (self)->f->indexOfSmallDouble(self, value) #define indexOfSmallDoubleG indexOfSmallDoubleO @@ -7112,6 +7163,9 @@ void finishManyOF(void *paramType, ...); #define binarySearchSmallBoolO(self, value) (self)->f->binarySearchSmallBool(self, value) #define binarySearchSmallBoolG binarySearchSmallBoolO +#define binarySearchSmallBytesO(self, value) (self)->f->binarySearchSmallBytes(self, value) +#define binarySearchSmallBytesG binarySearchSmallBytesO + #define binarySearchSmallDoubleO(self, value) (self)->f->binarySearchSmallDouble(self, value) #define binarySearchSmallDoubleG binarySearchSmallDoubleO @@ -7208,9 +7262,18 @@ void finishManyOF(void *paramType, ...); #define joinCharSO(self, c) (self)->f->joinCharS(self, c) #define joinCharSG joinCharSO +#define joinSmallJsonSO(self, delim) (self)->f->joinSmallJsonS(self, delim) +#define joinSmallJsonSG joinSmallJsonSO + #define joinSmallStringSO(self, delim) (self)->f->joinSmallStringS(self, delim) #define joinSmallStringSG joinSmallStringSO +#define zipSmallJsonSmallJsonO(self, array1, array2) (self)->f->zipSmallJsonSmallJson(self, array1, array2) +#define zipSmallJsonSmallJsonG zipSmallJsonSmallJsonO + +#define zipSmallJsonCharO(self, array1, array2) (self)->f->zipSmallJsonChar(self, array1, array2) +#define zipSmallJsonCharG zipSmallJsonCharO + #define zipArrayO(self, array1, array2) (self)->f->zipArray(self, array1, array2) #define zipArrayG zipArrayO @@ -7337,9 +7400,6 @@ void finishManyOF(void *paramType, ...); #define equalCharO(self, p2) (self)->f->equalChar(self, p2) #define equalCharG equalCharO -#define equalBaseO(self, p2) (self)->f->equalBase(self, p2) -#define equalBaseG equalBaseO - #define equalBoolO(self, p2) (self)->f->equalBool(self, p2) #define equalBoolG equalBoolO @@ -7373,6 +7433,9 @@ void finishManyOF(void *paramType, ...); #define appendFileSmallStringO(self, filePath) (self)->f->appendFileSmallString(self, filePath) #define appendFileSmallStringG appendFileSmallStringO +#define equalSmallBoolO(self, value) (self)->f->equalSmallBool(self, value) +#define equalSmallBoolG equalSmallBoolO + #define setClassDataFreeO(self, free) (self)->f->setClassDataFree(self, free) #define setClassDataFreeG setClassDataFreeO @@ -7397,6 +7460,9 @@ void finishManyOF(void *paramType, ...); #define setArraycO(self, key, array) (self)->f->setArrayc(self, key, array) #define setArraycG setArraycO +#define setSmallBytesO(self, key, value) (self)->f->setSmallBytes(self, key, value) +#define setSmallBytesG setSmallBytesO + #define setKCharO(self, key, value) (self)->f->setKChar(self, key, value) #define setKCharG setKCharO @@ -7430,12 +7496,18 @@ void finishManyOF(void *paramType, ...); #define setSmallBoolKCharO(self, key, value) (self)->f->setSmallBoolKChar(self, key, value) #define setSmallBoolKCharG setSmallBoolKCharO +#define setSmallBytesKCharO(self, key, value) (self)->f->setSmallBytesKChar(self, key, value) +#define setSmallBytesKCharG setSmallBytesKCharO + #define setSmallDoubleKCharO(self, key, value) (self)->f->setSmallDoubleKChar(self, key, value) #define setSmallDoubleKCharG setSmallDoubleKCharO #define setSmallIntKCharO(self, key, value) (self)->f->setSmallIntKChar(self, key, value) #define setSmallIntKCharG setSmallIntKCharO +#define setSmallJsonKCharO(self, key, value) (self)->f->setSmallJsonKChar(self, key, value) +#define setSmallJsonKCharG setSmallJsonKCharO + #define setSmallStringKCharO(self, key, string) (self)->f->setSmallStringKChar(self, key, string) #define setSmallStringKCharG setSmallStringKCharO @@ -7445,6 +7517,9 @@ void finishManyOF(void *paramType, ...); #define setNFreeArraycO(self, key, array) (self)->f->setNFreeArrayc(self, key, array) #define setNFreeArraycG setNFreeArraycO +#define setNFreeSmallBytesO(self, key, value) (self)->f->setNFreeSmallBytes(self, key, value) +#define setNFreeSmallBytesG setNFreeSmallBytesO + #define setNFreeKCharO(self, key, value) (self)->f->setNFreeKChar(self, key, value) #define setNFreeKCharG setNFreeKCharO @@ -7466,24 +7541,39 @@ void finishManyOF(void *paramType, ...); #define setNFreeSmallBoolKCharO(self, key, value) (self)->f->setNFreeSmallBoolKChar(self, key, value) #define setNFreeSmallBoolKCharG setNFreeSmallBoolKCharO +#define setNFreeSmallBytesKCharO(self, key, value) (self)->f->setNFreeSmallBytesKChar(self, key, value) +#define setNFreeSmallBytesKCharG setNFreeSmallBytesKCharO + #define setNFreeSmallDoubleKCharO(self, key, value) (self)->f->setNFreeSmallDoubleKChar(self, key, value) #define setNFreeSmallDoubleKCharG setNFreeSmallDoubleKCharO #define setNFreeSmallIntKCharO(self, key, value) (self)->f->setNFreeSmallIntKChar(self, key, value) #define setNFreeSmallIntKCharG setNFreeSmallIntKCharO +#define setNFreeSmallJsonKCharO(self, key, value) (self)->f->setNFreeSmallJsonKChar(self, key, value) +#define setNFreeSmallJsonKCharG setNFreeSmallJsonKCharO + #define setNFreeSmallStringKCharO(self, key, string) (self)->f->setNFreeSmallStringKChar(self, key, string) #define setNFreeSmallStringKCharG setNFreeSmallStringKCharO #define setNFreeSmallContainerKCharO(self, key, container) (self)->f->setNFreeSmallContainerKChar(self, key, container) #define setNFreeSmallContainerKCharG setNFreeSmallContainerKCharO +#define setPSmallJsonO(self, key, json) (self)->f->setPSmallJson(self, key, json) +#define setPSmallJsonG setPSmallJsonO + +#define setNFreePSmallJsonO(self, key, json) (self)->f->setNFreePSmallJson(self, key, json) +#define setNFreePSmallJsonG setNFreePSmallJsonO + #define setPArrayKCharO(self, key, array) (self)->f->setPArrayKChar(self, key, array) #define setPArrayKCharG setPArrayKCharO #define setPDictKCharO(self, key, dict) (self)->f->setPDictKChar(self, key, dict) #define setPDictKCharG setPDictKCharO +#define setPSmallJsonKCharO(self, key, json) (self)->f->setPSmallJsonKChar(self, key, json) +#define setPSmallJsonKCharG setPSmallJsonKCharO + #define setPSmallStringKCharO(self, key, string) (self)->f->setPSmallStringKChar(self, key, string) #define setPSmallStringKCharG setPSmallStringKCharO @@ -7493,9 +7583,15 @@ void finishManyOF(void *paramType, ...); #define setNFreePDictKCharO(self, key, dict) (self)->f->setNFreePDictKChar(self, key, dict) #define setNFreePDictKCharG setNFreePDictKCharO +#define setNFreePSmallJsonKCharO(self, key, json) (self)->f->setNFreePSmallJsonKChar(self, key, json) +#define setNFreePSmallJsonKCharG setNFreePSmallJsonKCharO + #define setNFreePSmallStringKCharO(self, key, string) (self)->f->setNFreePSmallStringKChar(self, key, string) #define setNFreePSmallStringKCharG setNFreePSmallStringKCharO +#define getSmallBytesO(self, key) (self)->f->getSmallBytes(self, key) +#define getSmallBytesG getSmallBytesO + #define getKCharO(self, key) (self)->f->getKChar(self, key) #define getKCharG getKCharO @@ -7550,12 +7646,18 @@ void finishManyOF(void *paramType, ...); #define getSmallBoolKCharO(self, key) (self)->f->getSmallBoolKChar(self, key) #define getSmallBoolKCharG getSmallBoolKCharO +#define getSmallBytesKCharO(self, key) (self)->f->getSmallBytesKChar(self, key) +#define getSmallBytesKCharG getSmallBytesKCharO + #define getSmallDoubleKCharO(self, key) (self)->f->getSmallDoubleKChar(self, key) #define getSmallDoubleKCharG getSmallDoubleKCharO #define getSmallIntKCharO(self, key) (self)->f->getSmallIntKChar(self, key) #define getSmallIntKCharG getSmallIntKCharO +#define getSmallJsonKCharO(self, key) (self)->f->getSmallJsonKChar(self, key) +#define getSmallJsonKCharG getSmallJsonKCharO + #define getSmallStringKCharO(self, key) (self)->f->getSmallStringKChar(self, key) #define getSmallStringKCharG getSmallStringKCharO @@ -7565,6 +7667,9 @@ void finishManyOF(void *paramType, ...); #define getSmallContainerKCharO(self, key) (self)->f->getSmallContainerKChar(self, key) #define getSmallContainerKCharG getSmallContainerKCharO +#define getNDupSmallBytesO(self, key) (self)->f->getNDupSmallBytes(self, key) +#define getNDupSmallBytesG getNDupSmallBytesO + #define getNDupKCharO(self, key) (self)->f->getNDupKChar(self, key) #define getNDupKCharG getNDupKCharO @@ -7601,12 +7706,18 @@ void finishManyOF(void *paramType, ...); #define getNDupSmallBoolKCharO(self, key) (self)->f->getNDupSmallBoolKChar(self, key) #define getNDupSmallBoolKCharG getNDupSmallBoolKCharO +#define getNDupSmallBytesKCharO(self, key) (self)->f->getNDupSmallBytesKChar(self, key) +#define getNDupSmallBytesKCharG getNDupSmallBytesKCharO + #define getNDupSmallDoubleKCharO(self, key) (self)->f->getNDupSmallDoubleKChar(self, key) #define getNDupSmallDoubleKCharG getNDupSmallDoubleKCharO #define getNDupSmallIntKCharO(self, key) (self)->f->getNDupSmallIntKChar(self, key) #define getNDupSmallIntKCharG getNDupSmallIntKCharO +#define getNDupSmallJsonKCharO(self, key) (self)->f->getNDupSmallJsonKChar(self, key) +#define getNDupSmallJsonKCharG getNDupSmallJsonKCharO + #define getNDupSmallStringKCharO(self, key) (self)->f->getNDupSmallStringKChar(self, key) #define getNDupSmallStringKCharG getNDupSmallStringKCharO @@ -7652,6 +7763,9 @@ void finishManyOF(void *paramType, ...); #define keyBySmallBoolO(self, value) (self)->f->keyBySmallBool(self, value) #define keyBySmallBoolG keyBySmallBoolO +#define keyBySmallBytesO(self, value) (self)->f->keyBySmallBytes(self, value) +#define keyBySmallBytesG keyBySmallBytesO + #define keyBySmallDoubleO(self, value) (self)->f->keyBySmallDouble(self, value) #define keyBySmallDoubleG keyBySmallDoubleO @@ -7709,6 +7823,9 @@ void finishManyOF(void *paramType, ...); #define iterKeyO(self) (self)->f->iterKey(self) #define iterKeyG iterKeyO +#define zipSmallJsonVArrayO(self, keys, values) (self)->f->zipSmallJsonVArray(self, keys, values) +#define zipSmallJsonVArrayG zipSmallJsonVArrayO + #define zipArrayArrayO(self, keys, values) (self)->f->zipArrayArray(self, keys, values) #define zipArrayArrayG zipArrayArrayO @@ -7730,9 +7847,6 @@ void finishManyOF(void *paramType, ...); #define equalChaO(self, p2) (self)->f->equalCha(self, p2) #define equalChaG equalChaO -#define equalSmallBoolO(self, p2) (self)->f->equalSmallBool(self, p2) -#define equalSmallBoolG equalSmallBoolO - #define getTopTypeO(self) (self)->f->getTopType(self) #define getTopTypeG getTopTypeO @@ -7892,17 +8006,26 @@ void finishManyOF(void *paramType, ...); #define getTopSmallStringO(self) (self)->f->getTopSmallString(self) #define getTopSmallStringG getTopSmallStringO -#define setPSmallJsonO(self, key, value) (self)->f->setPSmallJson(self, key, value) -#define setPSmallJsonG setPSmallJsonO +#define keyIsO(self, key) (self)->f->keyIs(self, key) +#define keyIsG keyIsO -#define setNFreePSmallJsonO(self, key, value) (self)->f->setNFreePSmallJson(self, key, value) -#define setNFreePSmallJsonG setNFreePSmallJsonO +#define keyIsSO(self, key) (self)->f->keyIsS(self, key) +#define keyIsSG keyIsSO -#define setPAtSmallJsonO(self, index, value) (self)->f->setPAtSmallJson(self, index, value) -#define setPAtSmallJsonG setPAtSmallJsonO +#define makeKeyO(self, key) (self)->f->makeKey(self, key) +#define makeKeyG makeKeyO -#define setPAtNFreeSmallJsonO(self, index, value) (self)->f->setPAtNFreeSmallJson(self, index, value) -#define setPAtNFreeSmallJsonG setPAtNFreeSmallJsonO +#define iMakeKeyO(self, key) (self)->f->iMakeKey(self, key) +#define iMakeKeyG iMakeKeyO + +#define bMakeKeyO(self, dest, key) (self)->f->bMakeKey(self, dest, key) +#define bMakeKeyG bMakeKeyO + +#define bLMakeKeyO(self, dest, size, key) (self)->f->bLMakeKey(self, dest, size, key) +#define bLMakeKeyG bLMakeKeyO + +#define makeKeyLenO(self, key) (self)->f->makeKeyLen(self, key) +#define makeKeyLenG makeKeyLenO #define mergeDictO(self, smallDict) (self)->f->mergeDict(self, smallDict) #define mergeDictG mergeDictO @@ -8039,12 +8162,6 @@ void finishManyOF(void *paramType, ...); #define icReplaceCharJsonO(self, olds, news, max) (self)->f->icReplaceCharJson(self, olds, news, max) #define icReplaceCharJsonG icReplaceCharJsonO -#define equalSmallJsonO(self, p2) (self)->f->equalSmallJson(self, p2) -#define equalSmallJsonG equalSmallJsonO - -#define icEqualSmallJsonO(self, string) (self)->f->icEqualSmallJson(self, string) -#define icEqualSmallJsonG icEqualSmallJsonO - #define icEqualSmallStringO(self, string) (self)->f->icEqualSmallString(self, string) #define icEqualSmallStringG icEqualSmallStringO @@ -8162,6 +8279,18 @@ void finishManyOF(void *paramType, ...); #define extractCharCharO(self, delim1, delim2) (self)->f->extractCharChar(self, delim1, delim2) #define extractCharCharG extractCharCharO +#define extractSmallJsonSmallJsonO(self, delim1, delim2) (self)->f->extractSmallJsonSmallJson(self, delim1, delim2) +#define extractSmallJsonSmallJsonG extractSmallJsonSmallJsonO + +#define extractSmallStringSmallJsonO(self, delim1, delim2) (self)->f->extractSmallStringSmallJson(self, delim1, delim2) +#define extractSmallStringSmallJsonG extractSmallStringSmallJsonO + +#define extractSSmallJsonO(self, delim1, delim2) (self)->f->extractSSmallJson(self, delim1, delim2) +#define extractSSmallJsonG extractSSmallJsonO + +#define extractCharSmallJsonO(self, delim1, delim2) (self)->f->extractCharSmallJson(self, delim1, delim2) +#define extractCharSmallJsonG extractCharSmallJsonO + #define extractSmallStringSmallStringO(self, delim1, delim2) (self)->f->extractSmallStringSmallString(self, delim1, delim2) #define extractSmallStringSmallStringG extractSmallStringSmallStringO @@ -8198,6 +8327,18 @@ void finishManyOF(void *paramType, ...); #define icExtractCharCharO(self, delim1, delim2) (self)->f->icExtractCharChar(self, delim1, delim2) #define icExtractCharCharG icExtractCharCharO +#define icExtractSmallJsonSmallJsonO(self, delim1, delim2) (self)->f->icExtractSmallJsonSmallJson(self, delim1, delim2) +#define icExtractSmallJsonSmallJsonG icExtractSmallJsonSmallJsonO + +#define icExtractSmallStringSmallJsonO(self, delim1, delim2) (self)->f->icExtractSmallStringSmallJson(self, delim1, delim2) +#define icExtractSmallStringSmallJsonG icExtractSmallStringSmallJsonO + +#define icExtractSSmallJsonO(self, delim1, delim2) (self)->f->icExtractSSmallJson(self, delim1, delim2) +#define icExtractSSmallJsonG icExtractSSmallJsonO + +#define icExtractCharSmallJsonO(self, delim1, delim2) (self)->f->icExtractCharSmallJson(self, delim1, delim2) +#define icExtractCharSmallJsonG icExtractCharSmallJsonO + #define icExtractSmallStringSmallStringO(self, delim1, delim2) (self)->f->icExtractSmallStringSmallString(self, delim1, delim2) #define icExtractSmallStringSmallStringG icExtractSmallStringSmallStringO @@ -8324,21 +8465,105 @@ void finishManyOF(void *paramType, ...); #define appendNSmashSO(self, string) (self)->f->appendNSmashS(self, string) #define appendNSmashSG appendNSmashSO +#define prependNSmashSmallJsonO(self, json) (self)->f->prependNSmashSmallJson(self, json) +#define prependNSmashSmallJsonG prependNSmashSmallJsonO + #define prependNSmashSO(self, string) (self)->f->prependNSmashS(self, string) #define prependNSmashSG prependNSmashSO +#define replaceSmallJsonSmallJsonO(self, olds, news, max) (self)->f->replaceSmallJsonSmallJson(self, olds, news, max) +#define replaceSmallJsonSmallJsonG replaceSmallJsonSmallJsonO + +#define replaceSmallJsonSmallStringO(self, olds, news, max) (self)->f->replaceSmallJsonSmallString(self, olds, news, max) +#define replaceSmallJsonSmallStringG replaceSmallJsonSmallStringO + +#define replaceSmallJsonSO(self, olds, news, max) (self)->f->replaceSmallJsonS(self, olds, news, max) +#define replaceSmallJsonSG replaceSmallJsonSO + +#define replaceSmallJsonCharO(self, olds, news, max) (self)->f->replaceSmallJsonChar(self, olds, news, max) +#define replaceSmallJsonCharG replaceSmallJsonCharO + +#define replaceSSmallJsonO(self, olds, news, max) (self)->f->replaceSSmallJson(self, olds, news, max) +#define replaceSSmallJsonG replaceSSmallJsonO + +#define replaceCharSmallJsonO(self, olds, news, max) (self)->f->replaceCharSmallJson(self, olds, news, max) +#define replaceCharSmallJsonG replaceCharSmallJsonO + +#define icReplaceSmallJsonSmallJsonO(self, olds, news, max) (self)->f->icReplaceSmallJsonSmallJson(self, olds, news, max) +#define icReplaceSmallJsonSmallJsonG icReplaceSmallJsonSmallJsonO + +#define icReplaceSmallJsonSmallStringO(self, olds, news, max) (self)->f->icReplaceSmallJsonSmallString(self, olds, news, max) +#define icReplaceSmallJsonSmallStringG icReplaceSmallJsonSmallStringO + +#define icReplaceSmallJsonSO(self, olds, news, max) (self)->f->icReplaceSmallJsonS(self, olds, news, max) +#define icReplaceSmallJsonSG icReplaceSmallJsonSO + +#define icReplaceSmallJsonCharO(self, olds, news, max) (self)->f->icReplaceSmallJsonChar(self, olds, news, max) +#define icReplaceSmallJsonCharG icReplaceSmallJsonCharO + +#define icReplaceSSmallJsonO(self, olds, news, max) (self)->f->icReplaceSSmallJson(self, olds, news, max) +#define icReplaceSSmallJsonG icReplaceSSmallJsonO + +#define icReplaceCharSmallJsonO(self, olds, news, max) (self)->f->icReplaceCharSmallJson(self, olds, news, max) +#define icReplaceCharSmallJsonG icReplaceCharSmallJsonO + #define equalSO(self, string) (self)->f->equalS(self, string) #define equalSG equalSO +#define equalISmallJsonO(self, string, index) (self)->f->equalISmallJson(self, string, index) +#define equalISmallJsonG equalISmallJsonO + +#define startsWithSmallJsonO(self, string) (self)->f->startsWithSmallJson(self, string) +#define startsWithSmallJsonG startsWithSmallJsonO + +#define endsWithSmallJsonO(self, string) (self)->f->endsWithSmallJson(self, string) +#define endsWithSmallJsonG endsWithSmallJsonO + +#define countSmallJsonO(self, string) (self)->f->countSmallJson(self, string) +#define countSmallJsonG countSmallJsonO + +#define icStartsWithSmallJsonO(self, string) (self)->f->icStartsWithSmallJson(self, string) +#define icStartsWithSmallJsonG icStartsWithSmallJsonO + +#define icEndsWithSmallJsonO(self, string) (self)->f->icEndsWithSmallJson(self, string) +#define icEndsWithSmallJsonG icEndsWithSmallJsonO + +#define icCountSmallJsonO(self, string) (self)->f->icCountSmallJson(self, string) +#define icCountSmallJsonG icCountSmallJsonO + #define insertNFreeO(self, index, toInsert) (self)->f->insertNFree(self, index, toInsert) #define insertNFreeG insertNFreeO +#define splitSmallJsonSO(self, delim) (self)->f->splitSmallJsonS(self, delim) +#define splitSmallJsonSG splitSmallJsonSO + #define splitSSmallStringO(self, delim) (self)->f->splitSSmallString(self, delim) #define splitSSmallStringG splitSSmallStringO +#define extractSmallJsonSmallStringO(self, delim1, delim2) (self)->f->extractSmallJsonSmallString(self, delim1, delim2) +#define extractSmallJsonSmallStringG extractSmallJsonSmallStringO + +#define extractSmallJsonSO(self, delim1, delim2) (self)->f->extractSmallJsonS(self, delim1, delim2) +#define extractSmallJsonSG extractSmallJsonSO + +#define extractSmallJsonCharO(self, delim1, delim2) (self)->f->extractSmallJsonChar(self, delim1, delim2) +#define extractSmallJsonCharG extractSmallJsonCharO + +#define icSplitSmallJsonSO(self, delim) (self)->f->icSplitSmallJsonS(self, delim) +#define icSplitSmallJsonSG icSplitSmallJsonSO + #define icSplitSSmallStringO(self, delim) (self)->f->icSplitSSmallString(self, delim) #define icSplitSSmallStringG icSplitSSmallStringO +#define icExtractSmallJsonSmallStringO(self, delim1, delim2) (self)->f->icExtractSmallJsonSmallString(self, delim1, delim2) +#define icExtractSmallJsonSmallStringG icExtractSmallJsonSmallStringO + +#define icExtractSmallJsonSO(self, delim1, delim2) (self)->f->icExtractSmallJsonS(self, delim1, delim2) +#define icExtractSmallJsonSG icExtractSmallJsonSO + +#define icExtractSmallJsonCharO(self, delim1, delim2) (self)->f->icExtractSmallJsonChar(self, delim1, delim2) +#define icExtractSmallJsonCharG icExtractSmallJsonCharO + // generated with utils/oGMacros END diff --git a/src/json/libsheepyCSmallArray.c b/src/json/libsheepyCSmallArray.c @@ -389,7 +389,7 @@ internal ssize_t icIndexOfCharSmallArray(smallArrayt *self, char c); internal ssize_t icIndexOfDictSmallArray(smallArrayt *self, smallDictt *dict); internal ssize_t icIndexOfArraySmallArray(smallArrayt *self, smallArrayt *array); internal ssize_t icIndexOfArraycSmallArray(smallArrayt *self, char **array); -internal ssize_t icIndexOfSmallJsonSmallArray (smallArrayt *self, smallJsont *string); +internal ssize_t icIndexOfSmallJsonSmallArray(smallArrayt *self, smallJsont *string); internal ssize_t icIndexOfSmallStringSmallArray(smallArrayt *self, smallStringt *string); internal ssize_t icBinarySearchSmallArray(smallArrayt *self, baset *value); internal ssize_t icBinarySearchSSmallArray(smallArrayt *self, const char *string); @@ -425,10 +425,10 @@ internal char* joinSmallStringSSmallArray(smallArrayt *self, smallStringt* delim internal smallArrayt* zipSmallArray(smallArrayt *self, smallArrayt *array1, smallArrayt *array2); internal smallArrayt* zipSmallJsonSmallArray(smallArrayt *self, smallArrayt *array1, smallJsont *array2); internal smallArrayt* zipSmallJsonSmallArraySmallArray(smallArrayt *self, smallJsont *array1, smallArrayt *array2); -internal smallArrayt* zipSmallJsonSmallJsonSmallArray (smallArrayt *self, smallJsont *array1, smallJsont *array2); -internal smallArrayt* zipSmallJsonCharSmallArray (smallArrayt *self, smallJsont *array1, char **array2); +internal smallArrayt* zipSmallJsonSmallJsonSmallArray(smallArrayt *self, smallJsont *array1, smallJsont *array2); +internal smallArrayt* zipSmallJsonCharSmallArray(smallArrayt *self, smallJsont *array1, char **array2); internal smallArrayt* zipArraySmallArray(smallArrayt *self, char** array1, smallArrayt *array2); -internal smallArrayt* zipArraySmallJsonSmallArray (smallArrayt *self, char** array1, smallJsont *array2); +internal smallArrayt* zipArraySmallJsonSmallArray(smallArrayt *self, char** array1, smallJsont *array2); internal smallArrayt* zipCharSmallArray(smallArrayt *self, smallArrayt *array1, char** array2); internal smallArrayt* zipArrayCharSmallArray(smallArrayt *self, char** array1, char** array2); internal void logSmallArray(smallArrayt *self); @@ -7704,7 +7704,7 @@ internal ssize_t icIndexOfArraycSmallArray(smallArrayt *self, char **array) { return(-1); } -internal ssize_t icIndexOfSmallJsonSmallArray (smallArrayt *self, smallJsont *string) { +internal ssize_t icIndexOfSmallJsonSmallArray(smallArrayt *self, smallJsont *string) { if (!lenSmallArray(self) || !string) { return(-1); @@ -8683,7 +8683,7 @@ internal smallArrayt* zipSmallJsonSmallArraySmallArray(smallArrayt *self, small return(zipSmallArray(self, &a, array2)); } -internal smallArrayt* zipSmallJsonSmallJsonSmallArray (smallArrayt *self, smallJsont *array1, smallJsont *array2) { +internal smallArrayt* zipSmallJsonSmallJsonSmallArray(smallArrayt *self, smallJsont *array1, smallJsont *array2) { if (!array1 || !array2) { return(NULL); @@ -8716,7 +8716,7 @@ internal smallArrayt* zipSmallJsonSmallJsonSmallArray (smallArrayt *self, small return(zipSmallArray(self, &a, &b)); } -internal smallArrayt* zipSmallJsonCharSmallArray (smallArrayt *self, smallJsont *array1, char **array2) { +internal smallArrayt* zipSmallJsonCharSmallArray(smallArrayt *self, smallJsont *array1, char **array2) { if (!array1 || !array2) { return(NULL); @@ -8771,7 +8771,7 @@ internal smallArrayt* zipArraySmallArray(smallArrayt *self, char** array1, small return(self); } -internal smallArrayt* zipArraySmallJsonSmallArray (smallArrayt *self, char** array1, smallJsont *array2) { +internal smallArrayt* zipArraySmallJsonSmallArray(smallArrayt *self, char** array1, smallJsont *array2) { if (!array1 || !array2) { return(NULL); diff --git a/src/json/libsheepyCSmallJson.c b/src/json/libsheepyCSmallJson.c @@ -620,11 +620,11 @@ internal smallJsont* extractSmallJson(smallJsont *self, const char* delim1, cons internal smallJsont* extractCharSSmallJson(smallJsont *self, char delim1, const char* delim2); internal smallJsont* extractSCharSmallJson(smallJsont *self, const char* delim1, char delim2); internal smallJsont* extractCharCharSmallJson(smallJsont *self, char delim1, char delim2); -internal smallJsont* extractSmallJsonSmallJsonSmallJson (smallJsont *self, smallJsont* delim1, smallJsont* delim2); -internal smallJsont* extractSmallJsonSmallStringSmallJson (smallJsont *self, smallJsont* delim1, smallStringt* delim2); -internal smallJsont* extractSmallJsonSSmallJson (smallJsont *self, smallJsont* delim1, const char* delim2); -internal smallJsont* extractSmallJsonCharSmallJson (smallJsont *self, smallJsont* delim1, char delim2); -internal smallJsont* extractSmallStringSmallJsonSmallJson (smallJsont *self, smallStringt* delim1, smallJsont* delim2); +internal smallJsont* extractSmallJsonSmallJsonSmallJson(smallJsont *self, smallJsont* delim1, smallJsont* delim2); +internal smallJsont* extractSmallJsonSmallStringSmallJson(smallJsont *self, smallJsont* delim1, smallStringt* delim2); +internal smallJsont* extractSmallJsonSSmallJson(smallJsont *self, smallJsont* delim1, const char* delim2); +internal smallJsont* extractSmallJsonCharSmallJson(smallJsont *self, smallJsont* delim1, char delim2); +internal smallJsont* extractSmallStringSmallJsonSmallJson(smallJsont *self, smallStringt* delim1, smallJsont* delim2); internal smallJsont* extractSmallStringSmallStringSmallJson(smallJsont *self, smallStringt* delim1, smallStringt* delim2); internal smallJsont* extractSmallStringSSmallJson(smallJsont *self, smallStringt* delim1, const char* delim2); internal smallJsont* extractSmallStringCharSmallJson(smallJsont *self, smallStringt* delim1, char delim2); @@ -14422,7 +14422,7 @@ internal smallJsont* extractCharCharSmallJson(smallJsont *self, char delim1, cha return(extractSmallJson(self, d1, d2)); } -internal smallJsont* extractSmallJsonSmallJsonSmallJson (smallJsont *self, smallJsont* delim1, smallJsont* delim2) { +internal smallJsont* extractSmallJsonSmallJsonSmallJson(smallJsont *self, smallJsont* delim1, smallJsont* delim2) { if (!delim1 || !delim2) { return(NULL); @@ -14443,7 +14443,7 @@ internal smallJsont* extractSmallJsonSmallJsonSmallJson (smallJsont *self, sm return(extractSmallJson(self, sjGet(delim1), sjGet(delim2))); } -internal smallJsont* extractSmallJsonSmallStringSmallJson (smallJsont *self, smallJsont* delim1, smallStringt* delim2) { +internal smallJsont* extractSmallJsonSmallStringSmallJson(smallJsont *self, smallJsont* delim1, smallStringt* delim2) { if (!delim1 || !delim2) { return(NULL); @@ -14460,7 +14460,7 @@ internal smallJsont* extractSmallJsonSmallStringSmallJson (smallJsont *self, sm return(extractSmallJson(self, sjGet(delim1), ssGet(delim2))); } -internal smallJsont* extractSmallJsonSSmallJson (smallJsont *self, smallJsont* delim1, const char* delim2) { +internal smallJsont* extractSmallJsonSSmallJson(smallJsont *self, smallJsont* delim1, const char* delim2) { if (!delim1 || !delim2) { return(NULL); @@ -14477,7 +14477,7 @@ internal smallJsont* extractSmallJsonSSmallJson (smallJsont *self, sm return(extractSmallJson(self, sjGet(delim1), delim2)); } -internal smallJsont* extractSmallJsonCharSmallJson (smallJsont *self, smallJsont* delim1, char delim2) { +internal smallJsont* extractSmallJsonCharSmallJson(smallJsont *self, smallJsont* delim1, char delim2) { if (!delim1) { return(NULL); @@ -14495,7 +14495,7 @@ internal smallJsont* extractSmallJsonCharSmallJson (smallJsont *self, sm return(extractSmallJson(self, sjGet(delim1), d2)); } -internal smallJsont* extractSmallStringSmallJsonSmallJson (smallJsont *self, smallStringt* delim1, smallJsont* delim2) { +internal smallJsont* extractSmallStringSmallJsonSmallJson(smallJsont *self, smallStringt* delim1, smallJsont* delim2) { if (!delim1 || !delim2) { return(NULL); diff --git a/src/json/libsheepyCSmallString.c b/src/json/libsheepyCSmallString.c @@ -153,7 +153,7 @@ internal bool startsWithSmallJsonSmallString(smallStringt *self, smallJsont *str internal bool startsWithSmallStringSmallString(smallStringt *self, smallStringt *string); internal bool endsWithSSmallString(smallStringt *self, const char *string); internal bool endsWithCharSmallString(smallStringt *self, char c); -internal bool endsWithSmallJsonSmallString (smallStringt *self, smallJsont *string); +internal bool endsWithSmallJsonSmallString(smallStringt *self, smallJsont *string); internal bool endsWithSmallStringSmallString(smallStringt *self, smallStringt *string); internal ssize_t countSSmallString(smallStringt *self, const char *string); internal ssize_t countCharSmallString(smallStringt *self, char c); @@ -2548,7 +2548,7 @@ internal bool endsWithCharSmallString(smallStringt *self, char c) { return(endsWithSSmallString(self, s)); } -internal bool endsWithSmallJsonSmallString (smallStringt *self, smallJsont *string) { +internal bool endsWithSmallJsonSmallString(smallStringt *self, smallJsont *string) { // sanity checks if (!string) { diff --git a/src/libsheepyObject.h b/src/libsheepyObject.h @@ -3092,7 +3092,7 @@ void finishManyOF(void *paramType, ...); char *: readFileSmallStringG, \ const char*: readFileSmallStringG, \ FILE *: readStreamSmallStringG, \ - smallJsont *: readFileSmallJsonSmallStringG \ + smallJsont *: readFileSmallJsonSmallStringG, \ smallStringt *: readFileSmallStringSmallStringG \ ), \ smallJsont *: _Generic(path, \ @@ -6791,6 +6791,12 @@ void finishManyOF(void *paramType, ...); #define pushNFreeArraycO(self, array) (self)->f->pushNFreeArrayc(self, array) #define pushNFreeArraycG pushNFreeArraycO +#define pushNFreeSmallBytesO(self, value) (self)->f->pushNFreeSmallBytes(self, value) +#define pushNFreeSmallBytesG pushNFreeSmallBytesO + +#define popSmallBytesO(self) (self)->f->popSmallBytes(self) +#define popSmallBytesG popSmallBytesO + #define popNumO(self) (self)->f->popNum(self) #define popNumG popNumO @@ -6824,6 +6830,9 @@ void finishManyOF(void *paramType, ...); #define prependSmallBoolO(self, value) (self)->f->prependSmallBool(self, value) #define prependSmallBoolG prependSmallBoolO +#define prependSmallBytesO(self, value) (self)->f->prependSmallBytes(self, value) +#define prependSmallBytesG prependSmallBytesO + #define prependSmallDoubleO(self, value) (self)->f->prependSmallDouble(self, value) #define prependSmallDoubleG prependSmallDoubleO @@ -6851,6 +6860,9 @@ void finishManyOF(void *paramType, ...); #define prependNFreeSmallBoolO(self, value) (self)->f->prependNFreeSmallBool(self, value) #define prependNFreeSmallBoolG prependNFreeSmallBoolO +#define prependNFreeSmallBytesO(self, value) (self)->f->prependNFreeSmallBytes(self, value) +#define prependNFreeSmallBytesG prependNFreeSmallBytesO + #define prependNFreeSmallDoubleO(self, value) (self)->f->prependNFreeSmallDouble(self, value) #define prependNFreeSmallDoubleG prependNFreeSmallDoubleO @@ -6896,6 +6908,9 @@ void finishManyOF(void *paramType, ...); #define dequeueSmallBoolO(self) (self)->f->dequeueSmallBool(self) #define dequeueSmallBoolG dequeueSmallBoolO +#define dequeueSmallBytesO(self) (self)->f->dequeueSmallBytes(self) +#define dequeueSmallBytesG dequeueSmallBytesO + #define dequeueSmallDoubleO(self) (self)->f->dequeueSmallDouble(self) #define dequeueSmallDoubleG dequeueSmallDoubleO @@ -6950,6 +6965,9 @@ void finishManyOF(void *paramType, ...); #define injectSmallBoolO(self, index, toInject) (self)->f->injectSmallBool(self, index, toInject) #define injectSmallBoolG injectSmallBoolO +#define injectSmallBytesO(self, index, toInject) (self)->f->injectSmallBytes(self, index, toInject) +#define injectSmallBytesG injectSmallBytesO + #define injectSmallDoubleO(self, index, toInject) (self)->f->injectSmallDouble(self, index, toInject) #define injectSmallDoubleG injectSmallDoubleO @@ -6977,6 +6995,9 @@ void finishManyOF(void *paramType, ...); #define injectNFreeSmallBoolO(self, index, toInject) (self)->f->injectNFreeSmallBool(self, index, toInject) #define injectNFreeSmallBoolG injectNFreeSmallBoolO +#define injectNFreeSmallBytesO(self, index, toInject) (self)->f->injectNFreeSmallBytes(self, index, toInject) +#define injectNFreeSmallBytesG injectNFreeSmallBytesO + #define injectNFreeSmallDoubleO(self, index, toInject) (self)->f->injectNFreeSmallDouble(self, index, toInject) #define injectNFreeSmallDoubleG injectNFreeSmallDoubleO @@ -6995,18 +7016,42 @@ void finishManyOF(void *paramType, ...); #define equalO(self, array) (self)->f->equal(self, array) #define equalG equalO +#define equalSmallJsonO(self, array) (self)->f->equalSmallJson(self, array) +#define equalSmallJsonG equalSmallJsonO + +#define equalArrayO(self, p2) (self)->f->equalArray(self, p2) +#define equalArrayG equalArrayO + +#define equalBaseO(self, p2) (self)->f->equalBase(self, p2) +#define equalBaseG equalBaseO + #define icEqualO(self, array) (self)->f->icEqual(self, array) #define icEqualG icEqualO +#define icEqualSmallJsonO(self, array) (self)->f->icEqualSmallJson(self, array) +#define icEqualSmallJsonG icEqualSmallJsonO + #define setAtCharO(self, index, c) (self)->f->setAtChar(self, index, c) #define setAtCharG setAtCharO #define setAtArraycO(self, index, array) (self)->f->setAtArrayc(self, index, array) #define setAtArraycG setAtArraycO +#define setAtSmallBytesO(self, index, value) (self)->f->setAtSmallBytes(self, index, value) +#define setAtSmallBytesG setAtSmallBytesO + #define setAtNFreeArraycO(self, index, array) (self)->f->setAtNFreeArrayc(self, index, array) #define setAtNFreeArraycG setAtNFreeArraycO +#define setAtNFreeSmallBytesO(self, index, value) (self)->f->setAtNFreeSmallBytes(self, index, value) +#define setAtNFreeSmallBytesG setAtNFreeSmallBytesO + +#define setPAtSmallJsonO(self, index, json) (self)->f->setPAtSmallJson(self, index, json) +#define setPAtSmallJsonG setPAtSmallJsonO + +#define setPAtNFreeSmallJsonO(self, index, json) (self)->f->setPAtNFreeSmallJson(self, index, json) +#define setPAtNFreeSmallJsonG setPAtNFreeSmallJsonO + #define hasUndefinedO(self, undefined) (self)->f->hasUndefined(self, undefined) #define hasUndefinedG hasUndefinedO @@ -7037,6 +7082,9 @@ void finishManyOF(void *paramType, ...); #define hasSmallBoolO(self, value) (self)->f->hasSmallBool(self, value) #define hasSmallBoolG hasSmallBoolO +#define hasSmallBytesO(self, value) (self)->f->hasSmallBytes(self, value) +#define hasSmallBytesG hasSmallBytesO + #define hasSmallDoubleO(self, value) (self)->f->hasSmallDouble(self, value) #define hasSmallDoubleG hasSmallDoubleO @@ -7076,6 +7124,9 @@ void finishManyOF(void *paramType, ...); #define indexOfSmallBoolO(self, value) (self)->f->indexOfSmallBool(self, value) #define indexOfSmallBoolG indexOfSmallBoolO +#define indexOfSmallBytesO(self, value) (self)->f->indexOfSmallBytes(self, value) +#define indexOfSmallBytesG indexOfSmallBytesO + #define indexOfSmallDoubleO(self, value) (self)->f->indexOfSmallDouble(self, value) #define indexOfSmallDoubleG indexOfSmallDoubleO @@ -7112,6 +7163,9 @@ void finishManyOF(void *paramType, ...); #define binarySearchSmallBoolO(self, value) (self)->f->binarySearchSmallBool(self, value) #define binarySearchSmallBoolG binarySearchSmallBoolO +#define binarySearchSmallBytesO(self, value) (self)->f->binarySearchSmallBytes(self, value) +#define binarySearchSmallBytesG binarySearchSmallBytesO + #define binarySearchSmallDoubleO(self, value) (self)->f->binarySearchSmallDouble(self, value) #define binarySearchSmallDoubleG binarySearchSmallDoubleO @@ -7208,9 +7262,18 @@ void finishManyOF(void *paramType, ...); #define joinCharSO(self, c) (self)->f->joinCharS(self, c) #define joinCharSG joinCharSO +#define joinSmallJsonSO(self, delim) (self)->f->joinSmallJsonS(self, delim) +#define joinSmallJsonSG joinSmallJsonSO + #define joinSmallStringSO(self, delim) (self)->f->joinSmallStringS(self, delim) #define joinSmallStringSG joinSmallStringSO +#define zipSmallJsonSmallJsonO(self, array1, array2) (self)->f->zipSmallJsonSmallJson(self, array1, array2) +#define zipSmallJsonSmallJsonG zipSmallJsonSmallJsonO + +#define zipSmallJsonCharO(self, array1, array2) (self)->f->zipSmallJsonChar(self, array1, array2) +#define zipSmallJsonCharG zipSmallJsonCharO + #define zipArrayO(self, array1, array2) (self)->f->zipArray(self, array1, array2) #define zipArrayG zipArrayO @@ -7337,9 +7400,6 @@ void finishManyOF(void *paramType, ...); #define equalCharO(self, p2) (self)->f->equalChar(self, p2) #define equalCharG equalCharO -#define equalBaseO(self, p2) (self)->f->equalBase(self, p2) -#define equalBaseG equalBaseO - #define equalBoolO(self, p2) (self)->f->equalBool(self, p2) #define equalBoolG equalBoolO @@ -7373,6 +7433,9 @@ void finishManyOF(void *paramType, ...); #define appendFileSmallStringO(self, filePath) (self)->f->appendFileSmallString(self, filePath) #define appendFileSmallStringG appendFileSmallStringO +#define equalSmallBoolO(self, value) (self)->f->equalSmallBool(self, value) +#define equalSmallBoolG equalSmallBoolO + #define setClassDataFreeO(self, free) (self)->f->setClassDataFree(self, free) #define setClassDataFreeG setClassDataFreeO @@ -7397,6 +7460,9 @@ void finishManyOF(void *paramType, ...); #define setArraycO(self, key, array) (self)->f->setArrayc(self, key, array) #define setArraycG setArraycO +#define setSmallBytesO(self, key, value) (self)->f->setSmallBytes(self, key, value) +#define setSmallBytesG setSmallBytesO + #define setKCharO(self, key, value) (self)->f->setKChar(self, key, value) #define setKCharG setKCharO @@ -7430,12 +7496,18 @@ void finishManyOF(void *paramType, ...); #define setSmallBoolKCharO(self, key, value) (self)->f->setSmallBoolKChar(self, key, value) #define setSmallBoolKCharG setSmallBoolKCharO +#define setSmallBytesKCharO(self, key, value) (self)->f->setSmallBytesKChar(self, key, value) +#define setSmallBytesKCharG setSmallBytesKCharO + #define setSmallDoubleKCharO(self, key, value) (self)->f->setSmallDoubleKChar(self, key, value) #define setSmallDoubleKCharG setSmallDoubleKCharO #define setSmallIntKCharO(self, key, value) (self)->f->setSmallIntKChar(self, key, value) #define setSmallIntKCharG setSmallIntKCharO +#define setSmallJsonKCharO(self, key, value) (self)->f->setSmallJsonKChar(self, key, value) +#define setSmallJsonKCharG setSmallJsonKCharO + #define setSmallStringKCharO(self, key, string) (self)->f->setSmallStringKChar(self, key, string) #define setSmallStringKCharG setSmallStringKCharO @@ -7445,6 +7517,9 @@ void finishManyOF(void *paramType, ...); #define setNFreeArraycO(self, key, array) (self)->f->setNFreeArrayc(self, key, array) #define setNFreeArraycG setNFreeArraycO +#define setNFreeSmallBytesO(self, key, value) (self)->f->setNFreeSmallBytes(self, key, value) +#define setNFreeSmallBytesG setNFreeSmallBytesO + #define setNFreeKCharO(self, key, value) (self)->f->setNFreeKChar(self, key, value) #define setNFreeKCharG setNFreeKCharO @@ -7466,24 +7541,39 @@ void finishManyOF(void *paramType, ...); #define setNFreeSmallBoolKCharO(self, key, value) (self)->f->setNFreeSmallBoolKChar(self, key, value) #define setNFreeSmallBoolKCharG setNFreeSmallBoolKCharO +#define setNFreeSmallBytesKCharO(self, key, value) (self)->f->setNFreeSmallBytesKChar(self, key, value) +#define setNFreeSmallBytesKCharG setNFreeSmallBytesKCharO + #define setNFreeSmallDoubleKCharO(self, key, value) (self)->f->setNFreeSmallDoubleKChar(self, key, value) #define setNFreeSmallDoubleKCharG setNFreeSmallDoubleKCharO #define setNFreeSmallIntKCharO(self, key, value) (self)->f->setNFreeSmallIntKChar(self, key, value) #define setNFreeSmallIntKCharG setNFreeSmallIntKCharO +#define setNFreeSmallJsonKCharO(self, key, value) (self)->f->setNFreeSmallJsonKChar(self, key, value) +#define setNFreeSmallJsonKCharG setNFreeSmallJsonKCharO + #define setNFreeSmallStringKCharO(self, key, string) (self)->f->setNFreeSmallStringKChar(self, key, string) #define setNFreeSmallStringKCharG setNFreeSmallStringKCharO #define setNFreeSmallContainerKCharO(self, key, container) (self)->f->setNFreeSmallContainerKChar(self, key, container) #define setNFreeSmallContainerKCharG setNFreeSmallContainerKCharO +#define setPSmallJsonO(self, key, json) (self)->f->setPSmallJson(self, key, json) +#define setPSmallJsonG setPSmallJsonO + +#define setNFreePSmallJsonO(self, key, json) (self)->f->setNFreePSmallJson(self, key, json) +#define setNFreePSmallJsonG setNFreePSmallJsonO + #define setPArrayKCharO(self, key, array) (self)->f->setPArrayKChar(self, key, array) #define setPArrayKCharG setPArrayKCharO #define setPDictKCharO(self, key, dict) (self)->f->setPDictKChar(self, key, dict) #define setPDictKCharG setPDictKCharO +#define setPSmallJsonKCharO(self, key, json) (self)->f->setPSmallJsonKChar(self, key, json) +#define setPSmallJsonKCharG setPSmallJsonKCharO + #define setPSmallStringKCharO(self, key, string) (self)->f->setPSmallStringKChar(self, key, string) #define setPSmallStringKCharG setPSmallStringKCharO @@ -7493,9 +7583,15 @@ void finishManyOF(void *paramType, ...); #define setNFreePDictKCharO(self, key, dict) (self)->f->setNFreePDictKChar(self, key, dict) #define setNFreePDictKCharG setNFreePDictKCharO +#define setNFreePSmallJsonKCharO(self, key, json) (self)->f->setNFreePSmallJsonKChar(self, key, json) +#define setNFreePSmallJsonKCharG setNFreePSmallJsonKCharO + #define setNFreePSmallStringKCharO(self, key, string) (self)->f->setNFreePSmallStringKChar(self, key, string) #define setNFreePSmallStringKCharG setNFreePSmallStringKCharO +#define getSmallBytesO(self, key) (self)->f->getSmallBytes(self, key) +#define getSmallBytesG getSmallBytesO + #define getKCharO(self, key) (self)->f->getKChar(self, key) #define getKCharG getKCharO @@ -7550,12 +7646,18 @@ void finishManyOF(void *paramType, ...); #define getSmallBoolKCharO(self, key) (self)->f->getSmallBoolKChar(self, key) #define getSmallBoolKCharG getSmallBoolKCharO +#define getSmallBytesKCharO(self, key) (self)->f->getSmallBytesKChar(self, key) +#define getSmallBytesKCharG getSmallBytesKCharO + #define getSmallDoubleKCharO(self, key) (self)->f->getSmallDoubleKChar(self, key) #define getSmallDoubleKCharG getSmallDoubleKCharO #define getSmallIntKCharO(self, key) (self)->f->getSmallIntKChar(self, key) #define getSmallIntKCharG getSmallIntKCharO +#define getSmallJsonKCharO(self, key) (self)->f->getSmallJsonKChar(self, key) +#define getSmallJsonKCharG getSmallJsonKCharO + #define getSmallStringKCharO(self, key) (self)->f->getSmallStringKChar(self, key) #define getSmallStringKCharG getSmallStringKCharO @@ -7565,6 +7667,9 @@ void finishManyOF(void *paramType, ...); #define getSmallContainerKCharO(self, key) (self)->f->getSmallContainerKChar(self, key) #define getSmallContainerKCharG getSmallContainerKCharO +#define getNDupSmallBytesO(self, key) (self)->f->getNDupSmallBytes(self, key) +#define getNDupSmallBytesG getNDupSmallBytesO + #define getNDupKCharO(self, key) (self)->f->getNDupKChar(self, key) #define getNDupKCharG getNDupKCharO @@ -7601,12 +7706,18 @@ void finishManyOF(void *paramType, ...); #define getNDupSmallBoolKCharO(self, key) (self)->f->getNDupSmallBoolKChar(self, key) #define getNDupSmallBoolKCharG getNDupSmallBoolKCharO +#define getNDupSmallBytesKCharO(self, key) (self)->f->getNDupSmallBytesKChar(self, key) +#define getNDupSmallBytesKCharG getNDupSmallBytesKCharO + #define getNDupSmallDoubleKCharO(self, key) (self)->f->getNDupSmallDoubleKChar(self, key) #define getNDupSmallDoubleKCharG getNDupSmallDoubleKCharO #define getNDupSmallIntKCharO(self, key) (self)->f->getNDupSmallIntKChar(self, key) #define getNDupSmallIntKCharG getNDupSmallIntKCharO +#define getNDupSmallJsonKCharO(self, key) (self)->f->getNDupSmallJsonKChar(self, key) +#define getNDupSmallJsonKCharG getNDupSmallJsonKCharO + #define getNDupSmallStringKCharO(self, key) (self)->f->getNDupSmallStringKChar(self, key) #define getNDupSmallStringKCharG getNDupSmallStringKCharO @@ -7652,6 +7763,9 @@ void finishManyOF(void *paramType, ...); #define keyBySmallBoolO(self, value) (self)->f->keyBySmallBool(self, value) #define keyBySmallBoolG keyBySmallBoolO +#define keyBySmallBytesO(self, value) (self)->f->keyBySmallBytes(self, value) +#define keyBySmallBytesG keyBySmallBytesO + #define keyBySmallDoubleO(self, value) (self)->f->keyBySmallDouble(self, value) #define keyBySmallDoubleG keyBySmallDoubleO @@ -7709,6 +7823,9 @@ void finishManyOF(void *paramType, ...); #define iterKeyO(self) (self)->f->iterKey(self) #define iterKeyG iterKeyO +#define zipSmallJsonVArrayO(self, keys, values) (self)->f->zipSmallJsonVArray(self, keys, values) +#define zipSmallJsonVArrayG zipSmallJsonVArrayO + #define zipArrayArrayO(self, keys, values) (self)->f->zipArrayArray(self, keys, values) #define zipArrayArrayG zipArrayArrayO @@ -7730,9 +7847,6 @@ void finishManyOF(void *paramType, ...); #define equalChaO(self, p2) (self)->f->equalCha(self, p2) #define equalChaG equalChaO -#define equalSmallBoolO(self, p2) (self)->f->equalSmallBool(self, p2) -#define equalSmallBoolG equalSmallBoolO - #define getTopTypeO(self) (self)->f->getTopType(self) #define getTopTypeG getTopTypeO @@ -7892,17 +8006,26 @@ void finishManyOF(void *paramType, ...); #define getTopSmallStringO(self) (self)->f->getTopSmallString(self) #define getTopSmallStringG getTopSmallStringO -#define setPSmallJsonO(self, key, value) (self)->f->setPSmallJson(self, key, value) -#define setPSmallJsonG setPSmallJsonO +#define keyIsO(self, key) (self)->f->keyIs(self, key) +#define keyIsG keyIsO -#define setNFreePSmallJsonO(self, key, value) (self)->f->setNFreePSmallJson(self, key, value) -#define setNFreePSmallJsonG setNFreePSmallJsonO +#define keyIsSO(self, key) (self)->f->keyIsS(self, key) +#define keyIsSG keyIsSO -#define setPAtSmallJsonO(self, index, value) (self)->f->setPAtSmallJson(self, index, value) -#define setPAtSmallJsonG setPAtSmallJsonO +#define makeKeyO(self, key) (self)->f->makeKey(self, key) +#define makeKeyG makeKeyO -#define setPAtNFreeSmallJsonO(self, index, value) (self)->f->setPAtNFreeSmallJson(self, index, value) -#define setPAtNFreeSmallJsonG setPAtNFreeSmallJsonO +#define iMakeKeyO(self, key) (self)->f->iMakeKey(self, key) +#define iMakeKeyG iMakeKeyO + +#define bMakeKeyO(self, dest, key) (self)->f->bMakeKey(self, dest, key) +#define bMakeKeyG bMakeKeyO + +#define bLMakeKeyO(self, dest, size, key) (self)->f->bLMakeKey(self, dest, size, key) +#define bLMakeKeyG bLMakeKeyO + +#define makeKeyLenO(self, key) (self)->f->makeKeyLen(self, key) +#define makeKeyLenG makeKeyLenO #define mergeDictO(self, smallDict) (self)->f->mergeDict(self, smallDict) #define mergeDictG mergeDictO @@ -8039,12 +8162,6 @@ void finishManyOF(void *paramType, ...); #define icReplaceCharJsonO(self, olds, news, max) (self)->f->icReplaceCharJson(self, olds, news, max) #define icReplaceCharJsonG icReplaceCharJsonO -#define equalSmallJsonO(self, p2) (self)->f->equalSmallJson(self, p2) -#define equalSmallJsonG equalSmallJsonO - -#define icEqualSmallJsonO(self, string) (self)->f->icEqualSmallJson(self, string) -#define icEqualSmallJsonG icEqualSmallJsonO - #define icEqualSmallStringO(self, string) (self)->f->icEqualSmallString(self, string) #define icEqualSmallStringG icEqualSmallStringO @@ -8162,6 +8279,18 @@ void finishManyOF(void *paramType, ...); #define extractCharCharO(self, delim1, delim2) (self)->f->extractCharChar(self, delim1, delim2) #define extractCharCharG extractCharCharO +#define extractSmallJsonSmallJsonO(self, delim1, delim2) (self)->f->extractSmallJsonSmallJson(self, delim1, delim2) +#define extractSmallJsonSmallJsonG extractSmallJsonSmallJsonO + +#define extractSmallStringSmallJsonO(self, delim1, delim2) (self)->f->extractSmallStringSmallJson(self, delim1, delim2) +#define extractSmallStringSmallJsonG extractSmallStringSmallJsonO + +#define extractSSmallJsonO(self, delim1, delim2) (self)->f->extractSSmallJson(self, delim1, delim2) +#define extractSSmallJsonG extractSSmallJsonO + +#define extractCharSmallJsonO(self, delim1, delim2) (self)->f->extractCharSmallJson(self, delim1, delim2) +#define extractCharSmallJsonG extractCharSmallJsonO + #define extractSmallStringSmallStringO(self, delim1, delim2) (self)->f->extractSmallStringSmallString(self, delim1, delim2) #define extractSmallStringSmallStringG extractSmallStringSmallStringO @@ -8198,6 +8327,18 @@ void finishManyOF(void *paramType, ...); #define icExtractCharCharO(self, delim1, delim2) (self)->f->icExtractCharChar(self, delim1, delim2) #define icExtractCharCharG icExtractCharCharO +#define icExtractSmallJsonSmallJsonO(self, delim1, delim2) (self)->f->icExtractSmallJsonSmallJson(self, delim1, delim2) +#define icExtractSmallJsonSmallJsonG icExtractSmallJsonSmallJsonO + +#define icExtractSmallStringSmallJsonO(self, delim1, delim2) (self)->f->icExtractSmallStringSmallJson(self, delim1, delim2) +#define icExtractSmallStringSmallJsonG icExtractSmallStringSmallJsonO + +#define icExtractSSmallJsonO(self, delim1, delim2) (self)->f->icExtractSSmallJson(self, delim1, delim2) +#define icExtractSSmallJsonG icExtractSSmallJsonO + +#define icExtractCharSmallJsonO(self, delim1, delim2) (self)->f->icExtractCharSmallJson(self, delim1, delim2) +#define icExtractCharSmallJsonG icExtractCharSmallJsonO + #define icExtractSmallStringSmallStringO(self, delim1, delim2) (self)->f->icExtractSmallStringSmallString(self, delim1, delim2) #define icExtractSmallStringSmallStringG icExtractSmallStringSmallStringO @@ -8324,21 +8465,105 @@ void finishManyOF(void *paramType, ...); #define appendNSmashSO(self, string) (self)->f->appendNSmashS(self, string) #define appendNSmashSG appendNSmashSO +#define prependNSmashSmallJsonO(self, json) (self)->f->prependNSmashSmallJson(self, json) +#define prependNSmashSmallJsonG prependNSmashSmallJsonO + #define prependNSmashSO(self, string) (self)->f->prependNSmashS(self, string) #define prependNSmashSG prependNSmashSO +#define replaceSmallJsonSmallJsonO(self, olds, news, max) (self)->f->replaceSmallJsonSmallJson(self, olds, news, max) +#define replaceSmallJsonSmallJsonG replaceSmallJsonSmallJsonO + +#define replaceSmallJsonSmallStringO(self, olds, news, max) (self)->f->replaceSmallJsonSmallString(self, olds, news, max) +#define replaceSmallJsonSmallStringG replaceSmallJsonSmallStringO + +#define replaceSmallJsonSO(self, olds, news, max) (self)->f->replaceSmallJsonS(self, olds, news, max) +#define replaceSmallJsonSG replaceSmallJsonSO + +#define replaceSmallJsonCharO(self, olds, news, max) (self)->f->replaceSmallJsonChar(self, olds, news, max) +#define replaceSmallJsonCharG replaceSmallJsonCharO + +#define replaceSSmallJsonO(self, olds, news, max) (self)->f->replaceSSmallJson(self, olds, news, max) +#define replaceSSmallJsonG replaceSSmallJsonO + +#define replaceCharSmallJsonO(self, olds, news, max) (self)->f->replaceCharSmallJson(self, olds, news, max) +#define replaceCharSmallJsonG replaceCharSmallJsonO + +#define icReplaceSmallJsonSmallJsonO(self, olds, news, max) (self)->f->icReplaceSmallJsonSmallJson(self, olds, news, max) +#define icReplaceSmallJsonSmallJsonG icReplaceSmallJsonSmallJsonO + +#define icReplaceSmallJsonSmallStringO(self, olds, news, max) (self)->f->icReplaceSmallJsonSmallString(self, olds, news, max) +#define icReplaceSmallJsonSmallStringG icReplaceSmallJsonSmallStringO + +#define icReplaceSmallJsonSO(self, olds, news, max) (self)->f->icReplaceSmallJsonS(self, olds, news, max) +#define icReplaceSmallJsonSG icReplaceSmallJsonSO + +#define icReplaceSmallJsonCharO(self, olds, news, max) (self)->f->icReplaceSmallJsonChar(self, olds, news, max) +#define icReplaceSmallJsonCharG icReplaceSmallJsonCharO + +#define icReplaceSSmallJsonO(self, olds, news, max) (self)->f->icReplaceSSmallJson(self, olds, news, max) +#define icReplaceSSmallJsonG icReplaceSSmallJsonO + +#define icReplaceCharSmallJsonO(self, olds, news, max) (self)->f->icReplaceCharSmallJson(self, olds, news, max) +#define icReplaceCharSmallJsonG icReplaceCharSmallJsonO + #define equalSO(self, string) (self)->f->equalS(self, string) #define equalSG equalSO +#define equalISmallJsonO(self, string, index) (self)->f->equalISmallJson(self, string, index) +#define equalISmallJsonG equalISmallJsonO + +#define startsWithSmallJsonO(self, string) (self)->f->startsWithSmallJson(self, string) +#define startsWithSmallJsonG startsWithSmallJsonO + +#define endsWithSmallJsonO(self, string) (self)->f->endsWithSmallJson(self, string) +#define endsWithSmallJsonG endsWithSmallJsonO + +#define countSmallJsonO(self, string) (self)->f->countSmallJson(self, string) +#define countSmallJsonG countSmallJsonO + +#define icStartsWithSmallJsonO(self, string) (self)->f->icStartsWithSmallJson(self, string) +#define icStartsWithSmallJsonG icStartsWithSmallJsonO + +#define icEndsWithSmallJsonO(self, string) (self)->f->icEndsWithSmallJson(self, string) +#define icEndsWithSmallJsonG icEndsWithSmallJsonO + +#define icCountSmallJsonO(self, string) (self)->f->icCountSmallJson(self, string) +#define icCountSmallJsonG icCountSmallJsonO + #define insertNFreeO(self, index, toInsert) (self)->f->insertNFree(self, index, toInsert) #define insertNFreeG insertNFreeO +#define splitSmallJsonSO(self, delim) (self)->f->splitSmallJsonS(self, delim) +#define splitSmallJsonSG splitSmallJsonSO + #define splitSSmallStringO(self, delim) (self)->f->splitSSmallString(self, delim) #define splitSSmallStringG splitSSmallStringO +#define extractSmallJsonSmallStringO(self, delim1, delim2) (self)->f->extractSmallJsonSmallString(self, delim1, delim2) +#define extractSmallJsonSmallStringG extractSmallJsonSmallStringO + +#define extractSmallJsonSO(self, delim1, delim2) (self)->f->extractSmallJsonS(self, delim1, delim2) +#define extractSmallJsonSG extractSmallJsonSO + +#define extractSmallJsonCharO(self, delim1, delim2) (self)->f->extractSmallJsonChar(self, delim1, delim2) +#define extractSmallJsonCharG extractSmallJsonCharO + +#define icSplitSmallJsonSO(self, delim) (self)->f->icSplitSmallJsonS(self, delim) +#define icSplitSmallJsonSG icSplitSmallJsonSO + #define icSplitSSmallStringO(self, delim) (self)->f->icSplitSSmallString(self, delim) #define icSplitSSmallStringG icSplitSSmallStringO +#define icExtractSmallJsonSmallStringO(self, delim1, delim2) (self)->f->icExtractSmallJsonSmallString(self, delim1, delim2) +#define icExtractSmallJsonSmallStringG icExtractSmallJsonSmallStringO + +#define icExtractSmallJsonSO(self, delim1, delim2) (self)->f->icExtractSmallJsonS(self, delim1, delim2) +#define icExtractSmallJsonSG icExtractSmallJsonSO + +#define icExtractSmallJsonCharO(self, delim1, delim2) (self)->f->icExtractSmallJsonChar(self, delim1, delim2) +#define icExtractSmallJsonCharG icExtractSmallJsonCharO + // generated with utils/oGMacros END