git.s-ol.nu janet-2geom / master include / janet_2geom.h
master

Tree @master (Download .tar.gz)

janet_2geom.h @masterraw · history · blame

#ifndef JANET_2GEOM_POINT_INCLUDED
#define JANET_2GEOM_POINT_INCLUDED

#include <janet.h>

#ifdef __cplusplus
#include <2geom/point.h>

Janet janet_wrap_point(Geom::Point const &x);
Janet janet_wrap_point(Geom::IntPoint const &x);
Geom::Point janet_unwrap_point(Janet x);

extern "C" {
#endif

extern const JanetAbstractType geom_point_type;

void janet_lib_geom_point(JanetTable *env);

#ifdef __cplusplus
}
#endif

#endif // JANET_2GEOM_POINT_INCLUDED