#include <gcutter.h>
#include <glib/gstdio.h>
#include "../lib/grn-assertions.h"
#include <str.h>
#include <geo.h>
Go to the source code of this file.
Macro Definition Documentation
#define ADD_DATA |
( |
|
label, |
|
|
|
expected, |
|
|
|
offset, |
|
|
|
limit |
|
) |
| |
Value:gcut_add_datum(label, \
"expected", G_TYPE_POINTER, expected, gcut_list_string_free, \
"offset", G_TYPE_INT, offset, \
"limit", G_TYPE_INT, limit, \
NULL)
#define DEFINE_GEO_POINT |
( |
|
name | ) |
static grn_obj *name ## _wgs84, *name ## _text |
#define SETUP_GEO_POINT |
( |
|
name, |
|
|
|
latitude, |
|
|
|
longitude |
|
) |
| |
Value:name ## _wgs84 = wgs84_geo_point_open(latitude, longitude); \
name ## _text = text_geo_point_open(latitude, longitude)
#define UNLINK_GEO_POINT |
( |
|
name | ) |
|
Value:
grn_obj_unlink(
context, name ## _text)
Function Documentation
void cut_shutdown |
( |
void |
| ) |
|
void cut_startup |
( |
void |
| ) |
|
void cut_teardown |
( |
void |
| ) |
|
void data_cursor |
( |
void |
| ) |
|
DEFINE_GEO_POINT |
( |
nezu_no_taiyaki |
| ) |
|
DEFINE_GEO_POINT |
( |
takane |
| ) |
|
DEFINE_GEO_POINT |
( |
sazare |
| ) |
|
DEFINE_GEO_POINT |
( |
yanagi_ya |
| ) |
|
DEFINE_GEO_POINT |
( |
hiiragi |
| ) |
|
DEFINE_GEO_POINT |
( |
tokyo |
| ) |
|
DEFINE_GEO_POINT |
( |
shinjuku |
| ) |
|
DEFINE_GEO_POINT |
( |
nerima |
| ) |
|
void test_cursor |
( |
gconstpointer |
data | ) |
|
void test_estimate |
( |
void |
| ) |
|
void test_not_in |
( |
void |
| ) |
|
void test_select |
( |
void |
| ) |
|