15 #include <kApi/kValue.x.h>
52 return kValue_VTable(type)->VEquals(type, value, other);
67 #define kValue_EqualsT(kType_type, TPtr_value, TPtr_other) \
68 xkValue_EqualsT(kType_type, TPtr_value, TPtr_other, sizeof(*TPtr_value), sizeof(*TPtr_other))
80 return kValue_VTable(type)->VHashCode(type, value);
94 #define kValue_HashCodeT(kType_type, TPtr_value) \
95 xkValue_HashCodeT(kType_type, TPtr_value, sizeof(*TPtr_value))
112 kValue_VTable(type)->VImport(type, value, source);
kBool kValue_VEquals(kType type, const void *value, const void *other)
Protected virtual method that compares two values for equality.
kBool kType_IsArrayValue(kType type)
Reports whether the type is an 'array-value' type (e.g., kText32)
Definition: kType.h:185
kSize kValue_VHashCode(kType type, const void *value)
Protected virtual method that calculates a hash code representing the value instance.
Represents an unsigned integer that can store a pointer address.
void kValue_Import(kType type, void *value, const void *source)
Imports the content of another value into this value.
Definition: kValue.h:108
kBool kValue_Equals(kType type, const void *value, const void *other)
Determines whether a value is equal to another value.
Definition: kValue.h:50
#define kInlineFx(TYPE)
Inline method declaration helper.
Definition: kApiDef.h:26
kSize kValue_HashCode(kType type, const void *value)
Gets a hash code representing the state of this value.
Definition: kValue.h:78
void kItemCopy(void *dest, const void *src, kSize size)
Performs a small copy with minimal overhead.
Definition: kApiDef.h:1949
Core Zen type declarations.
void kValue_VImport(kType type, void *value, const void *source)
Protected virtual method that imports data from an external source into an array-value type...
Definition: kValue.h:169
kSize kType_Size(kType type)
Gets the external size of a type.
Definition: kType.h:304
Represents metadata about a type (class, interface, or value).
Represents a boolean value.