32#ifndef _XBPS_NUMBER_H_
33#define _XBPS_NUMBER_H_
36#include <xbps/xbps_object.h>
38typedef struct _prop_number *xbps_number_t;
44xbps_number_t xbps_number_create_integer(int64_t);
45xbps_number_t xbps_number_create_unsigned_integer(uint64_t);
47xbps_number_t xbps_number_copy(xbps_number_t);
49int xbps_number_size(xbps_number_t);
50bool xbps_number_unsigned(xbps_number_t);
52int64_t xbps_number_integer_value(xbps_number_t);
53uint64_t xbps_number_unsigned_integer_value(xbps_number_t);
55bool xbps_number_equals(xbps_number_t, xbps_number_t);
56bool xbps_number_equals_integer(xbps_number_t, int64_t);
57bool xbps_number_equals_unsigned_integer(xbps_number_t, uint64_t);