| 1 | /* |
| 2 | Copyright(C) 2016-2017 Brazil |
| 3 | Copyright(C) 2019-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 | #include "grn_db.h"cxx . . $ `<file>/lib/grn_db.h`/ |
| 21 | |
| 22 | #pragma once |
| 23 | |
| 24 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
| 28 | typedef structcxx . . $ $anonymous_type_8546c3b2810fbe7a_0# { |
| 29 | grn_objcxx . . $ grn_obj# *tablecxx . . $ $anonymous_type_8546c3b2810fbe7a_0#table.; |
| 30 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_context_tablecxx . . $ $anonymous_type_8546c3b2810fbe7a_0#is_context_table.; |
| 31 | grn_objcxx . . $ grn_obj# *window_function_callcxx . . $ $anonymous_type_8546c3b2810fbe7a_0#window_function_call.; |
| 32 | grn_proccxx . . $ grn_proc# *window_functioncxx . . $ $anonymous_type_8546c3b2810fbe7a_0#window_function.; |
| 33 | grn_objcxx . . $ grn_obj# argumentscxx . . $ $anonymous_type_8546c3b2810fbe7a_0#arguments.; |
| 34 | grn_objcxx . . $ grn_obj# *output_columncxx . . $ $anonymous_type_8546c3b2810fbe7a_0#output_column.; |
| 35 | grn_objcxx . . $ grn_obj# key_columnscxx . . $ $anonymous_type_8546c3b2810fbe7a_0#key_columns.; |
| 36 | grn_objcxx . . $ grn_obj# idscxx . . $ $anonymous_type_8546c3b2810fbe7a_0#ids.; |
| 37 | ssize_tcxx . . $ ssize_t# current_indexcxx . . $ $anonymous_type_8546c3b2810fbe7a_0#current_index.; |
| 38 | } grn_window_shardcxx . . $ grn_window_shard#; |
| 39 | |
| 40 | struct _grn_windowcxx . . $ _grn_window# { |
| 41 | grn_window_shardcxx . . $ grn_window_shard# *shardscxx . . $ _grn_window#shards.; |
| 42 | size_t n_shardscxx . . $ _grn_window#n_shards.; |
| 43 | ssize_tcxx . . $ ssize_t# current_shardcxx . . $ _grn_window#current_shard.; |
| 44 | grn_idcxx . . $ grn_id# current_idcxx . . $ _grn_window#current_id.; |
| 45 | grn_window_directioncxx . . $ grn_window_direction# directioncxx . . $ _grn_window#direction.; |
| 46 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_sortedcxx . . $ _grn_window#is_sorted.; |
| 47 | structcxx . . $ _grn_window#$anonymous_type_1# { |
| 48 | size_t ncxx . . $ _grn_window#$anonymous_type_0#n.; |
| 49 | grn_objcxx . . $ grn_obj# *buffer1cxx . . $ _grn_window#$anonymous_type_1#buffer1.; |
| 50 | grn_objcxx . . $ grn_obj# *buffer2cxx . . $ _grn_window#$anonymous_type_1#buffer2.; |
| 51 | grn_objcxx . . $ grn_obj# *previouscxx . . $ _grn_window#$anonymous_type_0#previous.; |
| 52 | grn_objcxx . . $ grn_obj# *currentcxx . . $ _grn_window#$anonymous_type_0#current.; |
| 53 | } valuescxx . . $ _grn_window#values.; |
| 54 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_value_changed_computedcxx . . $ _grn_window#is_value_changed_computed.; |
| 55 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_value_changedcxx . . $ _grn_window#is_value_changed.; |
| 56 | }; |
| 57 | |
| 58 | grn_rccxx . . $ grn_rc# grn_window_initcxx . . $ grn_window_init(e129d7a355eb2bb4).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 59 | grn_windowcxx . . $ grn_window# *window); |
| 60 | grn_rccxx . . $ grn_rc# grn_window_fincxx . . $ grn_window_fin(e129d7a355eb2bb4).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_windowcxx . . $ grn_window# *window); |
| 61 | grn_rccxx . . $ grn_rc# grn_window_resetcxx . . $ grn_window_reset(e129d7a355eb2bb4).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_windowcxx . . $ grn_window# *window); |
| 62 | grn_rccxx . . $ grn_rc# grn_window_add_recordcxx . . $ grn_window_add_record(dcfc7afbd5f143b6).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 63 | grn_windowcxx . . $ grn_window# *window, |
| 64 | grn_objcxx . . $ grn_obj# *table, |
| 65 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_context_table, |
| 66 | grn_idcxx . . $ grn_id# record_id, |
| 67 | grn_objcxx . . $ grn_obj# *window_function_call, |
| 68 | grn_objcxx . . $ grn_obj# *output_column, |
| 69 | grn_objcxx . . $ grn_obj# *key_columns); |
| 70 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! grn_window_is_emptycxx . . $ grn_window_is_empty(455f6a6a90ff2430).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_windowcxx . . $ grn_window# *window); |
| 71 | grn_rccxx . . $ grn_rc# grn_window_set_is_sortedcxx . . $ grn_window_set_is_sorted(316de395f9981a9a).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 72 | grn_windowcxx . . $ grn_window# *window, |
| 73 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_sorted); |
| 74 | grn_rccxx . . $ grn_rc# grn_window_executecxx . . $ grn_window_execute(e129d7a355eb2bb4).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_windowcxx . . $ grn_window# *window); |
| 75 | |
| 76 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 77 | } |
| 78 | #endif |