mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
9897128cb9
Change-Id: I9d707083f0a9e71d3bcc02b3265bfb233bdbe46c Reviewed-on: https://review.haiku-os.org/c/buildtools/+/3019 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
28 lines
845 B
C
28 lines
845 B
C
#ifndef ISL_POINT_PRIVATE_H
|
|
#define ISL_POINT_PRIVATE_H
|
|
|
|
#include <isl/space.h>
|
|
#include <isl/point.h>
|
|
#include <isl/vec.h>
|
|
|
|
struct isl_point {
|
|
int ref;
|
|
isl_space *dim;
|
|
struct isl_vec *vec;
|
|
};
|
|
|
|
__isl_give isl_point *isl_point_alloc(__isl_take isl_space *space,
|
|
__isl_take isl_vec *vec);
|
|
|
|
__isl_keep isl_space *isl_point_peek_space(__isl_keep isl_point *pnt);
|
|
__isl_give isl_space *isl_point_take_space(__isl_keep isl_point *pnt);
|
|
__isl_give isl_point *isl_point_restore_space(__isl_take isl_point *pnt,
|
|
__isl_take isl_space *space);
|
|
__isl_keep isl_vec *isl_point_peek_vec(__isl_keep isl_point *pnt);
|
|
__isl_give isl_vec *isl_point_get_vec(__isl_keep isl_point *pnt);
|
|
__isl_give isl_vec *isl_point_take_vec(__isl_keep isl_point *pnt);
|
|
__isl_give isl_point *isl_point_restore_vec(__isl_take isl_point *pnt,
|
|
__isl_take isl_vec *vec);
|
|
|
|
#endif
|