]> git.proxmox.com Git - ceph.git/blame - ceph/src/arrow/c_glib/arrow-dataset-glib/enums.c.template
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / c_glib / arrow-dataset-glib / enums.c.template
CommitLineData
1d09f67e
TL
1/*** BEGIN file-header ***/
2/*
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 */
20
21#include <arrow-dataset-glib/arrow-dataset-glib.h>
22/*** END file-header ***/
23
24/*** BEGIN file-production ***/
25
26/* enumerations from "@filename@" */
27/*** END file-production ***/
28
29/*** BEGIN value-header ***/
30GType
31@enum_name@_get_type(void)
32{
33 static GType etype = 0;
34 if (G_UNLIKELY(etype == 0)) {
35 static const G@Type@Value values[] = {
36/*** END value-header ***/
37
38/*** BEGIN value-production ***/
39 {@VALUENAME@, "@VALUENAME@", "@valuenick@"},
40/*** END value-production ***/
41
42/*** BEGIN value-tail ***/
43 {0, NULL, NULL}
44 };
45 etype = g_@type@_register_static(g_intern_static_string("@EnumName@"), values);
46 }
47 return etype;
48}
49/*** END value-tail ***/
50
51/*** BEGIN file-tail ***/
52/*** END file-tail ***/