change error system & function signatures
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
ee85c53354
commit
e17e346768
28 changed files with 633 additions and 651 deletions
|
|
@ -28,8 +28,12 @@ IKARUS_BEGIN_HEADER
|
|||
/// To avoid ordering fiascos and potential index performance degradation we just skip the first bit.
|
||||
/// - next 7 bits: #IkarusObjectType
|
||||
/// - last 56 bits: incremented counter generated by the database
|
||||
using IkarusId = int64_t;
|
||||
typedef int64_t IkarusId;
|
||||
|
||||
/// \brief Creates an id from the given data and type.
|
||||
/// \param data The data to use for the id.
|
||||
/// \param type The type to use for the id.
|
||||
/// \return The created id.
|
||||
IKA_API IkarusId ikarus_id_from_data_and_type(int64_t data, IkarusObjectType type);
|
||||
|
||||
/// \brief Fetches the object type of the given id.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue