{{ $view := . -}}
// Copyright © 2019 - 2020 Oscar Campos <oscar.campos@thepimpam.com>
// Copyright © 2017 - William Edwards
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "gdnative.gen.h"
#include <gdnative/aabb.h>
#include <gdnative/array.h>
#include <gdnative/basis.h>
#include <gdnative/color.h>
#include <gdnative/dictionary.h>
#include <gdnative/gdnative.h>
#include <gdnative/node_path.h>
#include <gdnative/plane.h>
#include <gdnative/pool_arrays.h>
#include <gdnative/quat.h>
#include <gdnative/rect2.h>
#include <gdnative/rid.h>
#include <gdnative/string.h>
#include <gdnative/string_name.h>
#include <gdnative/transform.h>
#include <gdnative/transform2d.h>
#include <gdnative/variant.h>
#include <gdnative/vector2.h>
#include <gdnative/vector3.h>
#include <gdnative_api_struct.gen.h>

/*------------------------------------------------------------------------------
//   This file was autogenerated by PimPam GDNative-Go binding tools
//   Please do not modify this file, any change will be lost
//----------------------------------------------------------------------------*/

{{/* Define the Core API */}}
/* GDNative {{ $view.API.Type }} {{ $view.API.Version.Major }}.{{ $view.API.Version.Minor }} */
{{ range $i, $api := $view.API.API -}}
	{{ $api.ReturnType }} go_{{ $api.Name }}(godot_gdnative_{{ $view.StructType }}_api_struct * p_api{{ if ($view.HasArgs $api.Arguments) }}, {{ end }}{{ range $j, $arg := $api.Arguments }}{{ index $arg 0 }} {{ index $arg 1 }}{{ if ($view.NotLastElement $j $api.Arguments) }}, {{ end }}{{ end }}) {
	{{ if ($view.NotVoid $api.ReturnType) }}return {{ end }}p_api->{{ $api.Name }}({{ range $j, $arg := $api.Arguments }}{{ index $arg 1 }}{{ if ($view.NotLastElement $j $api.Arguments) }}, {{ end }}{{ end }});
}

{{ end -}}
