| 1 | /* |
| 2 | Copyright(C) 2015-2016 Brazil |
| 3 | Copyright(C) 2021 Sutou Kouhei <[email protected]> |
| 4 | |
| 5 | This library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) any later version. |
| 9 | |
| 10 | This library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with this library; if not, write to the Free Software |
| 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #pragma once |
| 21 | |
| 22 | #include "grn_expr.h"cxx . . $ `<file>/lib/grn_expr.h`/ |
| 23 | |
| 24 | #ifdef __cplusplus |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
| 28 | typedef struct _grn_scanercxx . . $ _grn_scaner# { |
| 29 | grn_objcxx . . $ grn_obj# *exprcxx . . $ _grn_scaner#expr.; |
| 30 | grn_objcxx . . $ grn_obj# *source_exprcxx . . $ _grn_scaner#source_expr.; |
| 31 | scan_infocxx . . $ scan_info# **siscxx . . $ _grn_scaner#sis.; |
| 32 | uint32_tcxx . . $ uint32_t# n_siscxx . . $ _grn_scaner#n_sis.; |
| 33 | } grn_scannercxx . . $ grn_scanner#; |
| 34 | |
| 35 | grn_scannercxx . . $ grn_scanner# * |
| 36 | grn_scanner_opencxx . . $ grn_scanner_open(ae11df7c1ca81200).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 37 | grn_objcxx . . $ grn_obj# *expr, |
| 38 | grn_operatorcxx . . $ grn_operator# op, |
| 39 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! record_exist); |
| 40 | void |
| 41 | grn_scanner_closecxx . . $ grn_scanner_close(2dbf622ff0b4532a).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_scannercxx . . $ grn_scanner# *scanner); |
| 42 | |
| 43 | #ifdef __cplusplus |
| 44 | } |
| 45 | #endif |