]> git.proxmox.com Git - ceph.git/blob - ceph/src/arrow/c_glib/gandiva-glib/function-signature.h
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / c_glib / gandiva-glib / function-signature.h
1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20 #pragma once
21
22 #include <arrow-glib/arrow-glib.h>
23
24 G_BEGIN_DECLS
25
26 #define GGANDIVA_TYPE_FUNCTION_SIGNATURE (ggandiva_function_signature_get_type())
27 G_DECLARE_DERIVABLE_TYPE(GGandivaFunctionSignature,
28 ggandiva_function_signature,
29 GGANDIVA,
30 FUNCTION_SIGNATURE,
31 GObject)
32
33 struct _GGandivaFunctionSignatureClass
34 {
35 GObjectClass parent_class;
36 };
37
38 GGandivaFunctionSignature *ggandiva_function_signature_new(const gchar *base_name,
39 GList *parameter_types,
40 GArrowDataType *return_type);
41 gboolean ggandiva_function_signature_equal(GGandivaFunctionSignature *function_signature,
42 GGandivaFunctionSignature *other_function_signature);
43 gchar *ggandiva_function_signature_to_string(GGandivaFunctionSignature *function_signature);
44 GArrowDataType *ggandiva_function_signature_get_return_type(GGandivaFunctionSignature *function_signature);
45 gchar *ggandiva_function_signature_get_base_name(GGandivaFunctionSignature *function_signature);
46 GList *ggandiva_function_signature_get_param_types(GGandivaFunctionSignature *function_signature);
47
48 G_END_DECLS