diff --git a/include/Zycore/Allocator.h b/include/Zycore/Allocator.h index b1fa5d3..2bb6b0c 100644 --- a/include/Zycore/Allocator.h +++ b/include/Zycore/Allocator.h @@ -51,7 +51,7 @@ struct ZyanAllocator_; * @param element_size The size of a single element. * @param n The number of elements to allocate storage for. * - * @return A zycore status code. + * @return A zyan status code. * * This prototype is used for the `allocate()` and `reallocate()` functions. * @@ -69,7 +69,7 @@ typedef ZyanStatus (*ZyanAllocatorAllocate)(struct ZyanAllocator_* allocator, vo * @param element_size The size of a single element. * @param n The number of elements earlier passed to `(re-)allocate()`. * - * @return A zycore status code. + * @return A zyan status code. */ typedef ZyanStatus (*ZyanAllocatorDeallocate)(struct ZyanAllocator_* allocator, void* p, ZyanUSize element_size, ZyanUSize n); @@ -110,7 +110,7 @@ typedef struct ZyanAllocator_ * @param reallocate The reallocate function. * @param deallocate The deallocate function. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanAllocatorInit(ZyanAllocator* allocator, ZyanAllocatorAllocate allocate, ZyanAllocatorAllocate reallocate, ZyanAllocatorDeallocate deallocate); diff --git a/include/Zycore/Bitset.h b/include/Zycore/Bitset.h index 99a7c94..5107926 100644 --- a/include/Zycore/Bitset.h +++ b/include/Zycore/Bitset.h @@ -67,7 +67,7 @@ typedef struct ZyanBitset_ * desired operation. * @param v2 A pointer to the second byte. * - * @return A zycore status code. + * @return A zyan status code. * * This function is used to perform byte-wise operations on two `ZyanBitset` instances. */ @@ -87,7 +87,7 @@ typedef ZyanStatus (*ZyanBitsetByteOperation)(ZyanU8* v1, const ZyanU8* v2); * @param bitset A pointer to the `ZyanBitset` instance. * @param count The initial amount of bits. * - * @return A zycore status code. + * @return A zyan status code. * * The space for the bitset is dynamically allocated by the default allocator using the default * growth factor of `2.0f` and the default shrink threshold of `0.5f`. @@ -104,7 +104,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetInit(ZyanBitset* bitset, ZyanUSize count); * @param growth_factor The growth factor (from `1.0f` to `x.xf`). * @param shrink_threshold The shrink threshold (from `0.0f` to `1.0f`). * - * @return A zycore status code. + * @return A zyan status code. * * A growth factor of `1.0f` disables overallocation and a shrink threshold of `0.0f` disables * dynamic shrinking. @@ -121,7 +121,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetInitEx(ZyanBitset* bitset, ZyanUSize count, * @param buffer A pointer to the buffer that is used as storage for the bits. * @param capacity The maximum capacity (number of bytes) of the buffer. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetInitBuffer(ZyanBitset* bitset, ZyanUSize count, void* buffer, ZyanUSize capacity); @@ -131,7 +131,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetInitBuffer(ZyanBitset* bitset, ZyanUSize coun * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetDestroy(ZyanBitset* bitset); @@ -147,7 +147,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetDestroy(ZyanBitset* bitset); * @param source A pointer to the `ZyanBitset` instance that is used as the second input. * @param operation A pointer to the function that performs the desired operation. * - * @return A zycore status code. + * @return A zyan status code. * * The `operation` callback is invoked once for every byte in the smallest of the `ZyanBitset` * instances. @@ -162,7 +162,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetPerformByteOperation(ZyanBitset* destination, * as the destination. * @param source A pointer to the `ZyanBitset` instance that is used as the second input. * - * @return A zycore status code. + * @return A zyan status code. * * If the destination bitmask contains more bits than the source one, the state of the remaining * bits will be undefined. @@ -176,7 +176,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetAND(ZyanBitset* destination, const ZyanBitset * as the destination. * @param source A pointer to the `ZyanBitset` instance that is used as the second input. * - * @return A zycore status code. + * @return A zyan status code. * * If the destination bitmask contains more bits than the source one, the state of the remaining * bits will be undefined. @@ -190,7 +190,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetOR (ZyanBitset* destination, const ZyanBitset * as the destination. * @param source A pointer to the `ZyanBitset` instance that is used as the second input. * - * @return A zycore status code. + * @return A zyan status code. * * If the destination bitmask contains more bits than the source one, the state of the remaining * bits will be undefined. @@ -202,7 +202,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetXOR(ZyanBitset* destination, const ZyanBitset * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetFlip(ZyanBitset* bitset); @@ -216,7 +216,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetFlip(ZyanBitset* bitset); * @param bitset A pointer to the `ZyanBitset` instance. * @param index The bit index. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetSet(ZyanBitset* bitset, ZyanUSize index); @@ -226,7 +226,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetSet(ZyanBitset* bitset, ZyanUSize index); * @param bitset A pointer to the `ZyanBitset` instance. * @param index The bit index. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetReset(ZyanBitset* bitset, ZyanUSize index); @@ -237,7 +237,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetReset(ZyanBitset* bitset, ZyanUSize index); * @param index The bit index. * @param value The new value. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetAssign(ZyanBitset* bitset, ZyanUSize index, ZyanBool value); @@ -247,7 +247,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetAssign(ZyanBitset* bitset, ZyanUSize index, Z * @param bitset A pointer to the `ZyanBitset` instance. * @param index The bit index. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetToggle(ZyanBitset* bitset, ZyanUSize index); @@ -257,7 +257,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetToggle(ZyanBitset* bitset, ZyanUSize index); * @param bitset A pointer to the `ZyanBitset` instance. * @param index The bit index. * - * @return `ZYAN_STATUS_TRUE`, if the bit is set or `ZYAN_STATUS_FALSE`, if not, Another zycore + * @return `ZYAN_STATUS_TRUE`, if the bit is set or `ZYAN_STATUS_FALSE`, if not, Another zyan * status code, if an error occured. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetTest(ZyanBitset* bitset, ZyanUSize index); @@ -267,7 +267,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetTest(ZyanBitset* bitset, ZyanUSize index); * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return `ZYAN_STATUS_TRUE`, if the bit is set or `ZYAN_STATUS_FALSE`, if not. Another zycore + * @return `ZYAN_STATUS_TRUE`, if the bit is set or `ZYAN_STATUS_FALSE`, if not. Another zyan * status code, if an error occured. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetTestMSB(ZyanBitset* bitset); @@ -277,7 +277,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetTestMSB(ZyanBitset* bitset); * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return `ZYAN_STATUS_TRUE`, if the bit is set or `ZYAN_STATUS_FALSE`, if not. Another zycore + * @return `ZYAN_STATUS_TRUE`, if the bit is set or `ZYAN_STATUS_FALSE`, if not. Another zyan * status code, if an error occured. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetTestLSB(ZyanBitset* bitset); @@ -289,7 +289,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetTestLSB(ZyanBitset* bitset); * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetSetAll(ZyanBitset* bitset); @@ -298,7 +298,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetSetAll(ZyanBitset* bitset); * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetResetAll(ZyanBitset* bitset); @@ -312,7 +312,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetResetAll(ZyanBitset* bitset); * @param bitset A pointer to the `ZyanBitset` instance. * @param value The value of the new bit. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetPush(ZyanBitset* bitset, ZyanBool value); @@ -321,7 +321,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetPush(ZyanBitset* bitset, ZyanBool value); * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetPop(ZyanBitset* bitset); @@ -330,7 +330,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetPop(ZyanBitset* bitset); * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetClear(ZyanBitset* bitset); @@ -344,7 +344,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetClear(ZyanBitset* bitset); * @param bitset A pointer to the `ZyanBitset` instance. * @param count The new capacity (number of bits). * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetReserve(ZyanBitset* bitset, ZyanUSize count); @@ -353,7 +353,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetReserve(ZyanBitset* bitset, ZyanUSize count); * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetShrinkToFit(ZyanBitset* bitset); @@ -367,7 +367,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetShrinkToFit(ZyanBitset* bitset); * @param bitset A pointer to the `ZyanBitset` instance. * @param size Receives the size of the bitset in bits. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetSize(const ZyanBitset* bitset, ZyanUSize* size); @@ -377,7 +377,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetSize(const ZyanBitset* bitset, ZyanUSize* siz * @param bitset A pointer to the `ZyanBitset` instance. * @param capacity Receives the size of the bitset in bits. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetCapacity(const ZyanBitset* bitset, ZyanUSize* capacity); @@ -387,7 +387,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetCapacity(const ZyanBitset* bitset, ZyanUSize* * @param bitset A pointer to the `ZyanBitset` instance. * @param size Receives the size of the bitset in bytes. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetSizeBytes(const ZyanBitset* bitset, ZyanUSize* size); @@ -397,7 +397,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetSizeBytes(const ZyanBitset* bitset, ZyanUSize * @param bitset A pointer to the `ZyanBitset` instance. * @param capacity Receives the size of the bitset in bytes. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetCapacityBytes(const ZyanBitset* bitset, ZyanUSize* capacity); @@ -409,7 +409,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetCapacityBytes(const ZyanBitset* bitset, ZyanU * @param bitset A pointer to the `ZyanBitset` instance. * @param count Receives the amount of bits set in the given bitset. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetCount(const ZyanBitset* bitset, ZyanUSize* count); @@ -418,7 +418,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetCount(const ZyanBitset* bitset, ZyanUSize* co * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return `ZYAN_STATUS_TRUE`, if all bits are set, `ZYAN_STATUS_FALSE`, if not. Another zycore + * @return `ZYAN_STATUS_TRUE`, if all bits are set, `ZYAN_STATUS_FALSE`, if not. Another zyan * status code, if an error occured. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetAll(const ZyanBitset* bitset); @@ -429,7 +429,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetAll(const ZyanBitset* bitset); * @param bitset A pointer to the `ZyanBitset` instance. * * @return `ZYAN_STATUS_TRUE`, if at least one bit is set, `ZYAN_STATUS_FALSE`, if not. Another - * zycore status code, if an error occured. + * zyan status code, if an error occured. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetAny(const ZyanBitset* bitset); @@ -438,7 +438,7 @@ ZYCORE_EXPORT ZyanStatus ZyanBitsetAny(const ZyanBitset* bitset); * * @param bitset A pointer to the `ZyanBitset` instance. * - * @return `ZYAN_STATUS_TRUE`, if none bits are set, `ZYAN_STATUS_FALSE`, if not. Another zycore + * @return `ZYAN_STATUS_TRUE`, if none bits are set, `ZYAN_STATUS_FALSE`, if not. Another zyan * status code, if an error occured. */ ZYCORE_EXPORT ZyanStatus ZyanBitsetNone(const ZyanBitset* bitset); diff --git a/include/Zycore/Defines.h b/include/Zycore/Defines.h index 575ee34..f1fdafe 100644 --- a/include/Zycore/Defines.h +++ b/include/Zycore/Defines.h @@ -88,7 +88,7 @@ #elif defined(_M_ARM) || defined(_M_ARMT) || defined(__arm__) || defined(__thumb__) # define ZYAN_ARM #elif defined(__EMSCRIPTEN__) - // Nothing to do, `ZYDIS_EMSCRIPTEN` is both platform and arch macro for this one. + // Nothing to do, `ZYAN_EMSCRIPTEN` is both platform and arch macro for this one. #else # error "Unsupported architecture detected" #endif diff --git a/include/Zycore/Vector.h b/include/Zycore/Vector.h index 722271f..e4443d4 100644 --- a/include/Zycore/Vector.h +++ b/include/Zycore/Vector.h @@ -117,7 +117,7 @@ typedef ZyanI8 (*ZyanComparison)(const void* left, const void* right); * @param element_size The size of a single element in bytes. * @param capacity The initial capacity (number of elements). * - * @return A zycore status code. + * @return A zyan status code. * * The space for the vector elements is dynamically allocated by the default allocator using the * default growth factor of `2.0f` and the default shrink threshold of `0.25f`. @@ -136,7 +136,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorInit(ZyanVector* vector, ZyanUSize element_si * @param growth_factor The growth factor (from `1.0f` to `x.xf`). * @param shrink_threshold The shrink threshold (from `0.0f` to `1.0f`). * - * @return A zycore status code. + * @return A zyan status code. * * A growth factor of `1.0f` disables overallocation and a shrink threshold of `0.0f` disables * dynamic shrinking. @@ -153,7 +153,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorInitEx(ZyanVector* vector, ZyanUSize element_ * @param buffer A pointer to the buffer that is used as storage for the elements. * @param capacity The maximum capacity (number of elements) of the buffer. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorInitBuffer(ZyanVector* vector, ZyanUSize element_size, void* buffer, ZyanUSize capacity); @@ -163,7 +163,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorInitBuffer(ZyanVector* vector, ZyanUSize elem * * @param vector A pointer to the `ZyanVector` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorDestroy(ZyanVector* vector); @@ -178,7 +178,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorDestroy(ZyanVector* vector); * @param index The element index. * @param element Receives a pointer to the desired element in the vector. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorGet(const ZyanVector* vector, ZyanUSize index, void** element); @@ -189,7 +189,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorGet(const ZyanVector* vector, ZyanUSize index * @param index The element index. * @param element Receives a constant pointer to the desired element in the vector. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorGetConst(const ZyanVector* vector, ZyanUSize index, const void** element); @@ -205,7 +205,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorGetConst(const ZyanVector* vector, ZyanUSize * @param index The element index. * @param element The value to assign. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorAssign(ZyanVector* vector, ZyanUSize index, const void* element); @@ -219,7 +219,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorAssign(ZyanVector* vector, ZyanUSize index, c * @param vector A pointer to the `ZyanVector` instance. * @param element A pointer to the element to add. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorPush(ZyanVector* vector, const void* element); @@ -230,7 +230,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorPush(ZyanVector* vector, const void* element) * @param index The insert index. * @param element A pointer to the element to insert. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorInsert(ZyanVector* vector, ZyanUSize index, const void* element); @@ -242,7 +242,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorInsert(ZyanVector* vector, ZyanUSize index, c * @param elements A pointer to the first element. * @param count The number of elements to insert. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorInsertElements(ZyanVector* vector, ZyanUSize index, const void* elements, ZyanUSize count); @@ -257,7 +257,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorInsertElements(ZyanVector* vector, ZyanUSize * @param vector A pointer to the `ZyanVector` instance. * @param index The element index. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorDelete(ZyanVector* vector, ZyanUSize index); @@ -268,7 +268,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorDelete(ZyanVector* vector, ZyanUSize index); * @param index The index of the first element. * @param count The number of elements to delete. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorDeleteElements(ZyanVector* vector, ZyanUSize index, ZyanUSize count); @@ -278,7 +278,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorDeleteElements(ZyanVector* vector, ZyanUSize * * @param vector A pointer to the `ZyanVector` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorPop(ZyanVector* vector); @@ -287,7 +287,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorPop(ZyanVector* vector); * * @param vector A pointer to the `ZyanVector` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorClear(ZyanVector* vector); @@ -377,7 +377,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorBinarySearchEx(const ZyanVector* vector, cons * @param vector A pointer to the `ZyanVector` instance. * @param size The new size of the vector. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorResize(ZyanVector* vector, ZyanUSize size); @@ -387,7 +387,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorResize(ZyanVector* vector, ZyanUSize size); * @param vector A pointer to the `ZyanVector` instance. * @param capacity The new minimum capacity of the vector. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorReserve(ZyanVector* vector, ZyanUSize capacity); @@ -396,7 +396,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorReserve(ZyanVector* vector, ZyanUSize capacit * * @param vector A pointer to the `ZyanVector` instance. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorShrinkToFit(ZyanVector* vector); @@ -410,7 +410,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorShrinkToFit(ZyanVector* vector); * @param vector A pointer to the `ZyanVector` instance. * @param size Receives the size of the vector. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorGetSize(const ZyanVector* vector, ZyanUSize* size); @@ -420,7 +420,7 @@ ZYCORE_EXPORT ZyanStatus ZyanVectorGetSize(const ZyanVector* vector, ZyanUSize* * @param vector A pointer to the `ZyanVector` instance. * @param capacity Receives the size of the vector. * - * @return A zycore status code. + * @return A zyan status code. */ ZYCORE_EXPORT ZyanStatus ZyanVectorGetCapacity(const ZyanVector* vector, ZyanUSize* capacity); diff --git a/src/Bitset.c b/src/Bitset.c index 17af071..20e9908 100644 --- a/src/Bitset.c +++ b/src/Bitset.c @@ -81,7 +81,7 @@ * @param vector A pointer to the `ZyanVector` instance. * @param count The number of bytes. * - * @return A zycore status code. + * @return A zyan status code. */ static ZyanStatus ZyanBitsetInitVectorElements(ZyanVector* vector, ZyanUSize count) { diff --git a/src/Vector.c b/src/Vector.c index a10e8e1..0a625c4 100644 --- a/src/Vector.c +++ b/src/Vector.c @@ -65,7 +65,7 @@ /** * @brief Returns the offset of the element at the given `index`. * - * @param vector A pointer to the `ZydisVector` instance. + * @param vector A pointer to the `ZyanVector` instance. * @param index The element index. * * @return The offset of the element at the given `index`. @@ -84,10 +84,10 @@ /** * @brief Reallocates the internal buffer of the vector. * - * @param vector A pointer to the `ZydisVector` instance. + * @param vector A pointer to the `ZyanVector` instance. * @param capacity The new capacity. * - * @return A zycore status code. + * @return A zyan status code. */ static ZyanStatus ZyanVectorReallocate(ZyanVector* vector, ZyanUSize capacity) { @@ -130,11 +130,11 @@ static ZyanStatus ZyanVectorReallocate(ZyanVector* vector, ZyanUSize capacity) * @brief Shifts all elements starting at the specified `index` by the amount of `count` to the * left. * - * @param vector A pointer to the `ZydisVector` instance. + * @param vector A pointer to the `ZyanVector` instance. * @param index The start index. * @param count The amount of shift operations. * - * @return A zycore status code. + * @return A zyan status code. */ static ZyanStatus ZyanVectorShiftLeft(ZyanVector* vector, ZyanUSize index, ZyanUSize count) { @@ -157,11 +157,11 @@ static ZyanStatus ZyanVectorShiftLeft(ZyanVector* vector, ZyanUSize index, ZyanU * @brief Shifts all elements starting at the specified `index` by the amount of `count` to the * right. * - * @param vector A pointer to the `ZydisVector` instance. + * @param vector A pointer to the `ZyanVector` instance. * @param index The start index. * @param count The amount of shift operations. * - * @return A zycore status code. + * @return A zyan status code. */ static ZyanStatus ZyanVectorShiftRight(ZyanVector* vector, ZyanUSize index, ZyanUSize count) {