I’m currently in the process of writing a prolog binding. In my C API, I have various functions that get or return a uint64_t. According to the swipl documentation, I can easily store a uint64_t into a prolog term with PL_unify_uint64(). However, there’s no corresponding PL_get_uint64(), although there is a signed version, PL_get_int64().
Is there any reason why this function is missing? And what should I be doing to get a proper uint64_t out of a prolog term?