File: filter.cc

package info (click to toggle)
pyosmium 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,600 kB
  • sloc: python: 4,493; cpp: 2,616; makefile: 21
file content (28 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* SPDX-License-Identifier: BSD-2-Clause
 *
 * This file is part of pyosmium. (https://osmcode.org/pyosmium/)
 *
 * Copyright (C) 2025 Sarah Hoffmann <lonvia@denofr.de> and others.
 * For a full list of authors see the git log.
 */
#include <pybind11/pybind11.h>

#include "base_filter.h"


namespace py = pybind11;

#ifdef Py_GIL_DISABLED
PYBIND11_MODULE(filter, m, py::mod_gil_not_used())
#else
PYBIND11_MODULE(filter, m)
#endif
{
    pyosmium::init_empty_tag_filter(m);
    pyosmium::init_key_filter(m);
    pyosmium::init_tag_filter(m);
    pyosmium::init_entity_filter(m);
    pyosmium::init_id_filter(m);
    pyosmium::init_geo_interface_filter(m);
};