// 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.
package gdnative

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

/*
#include "gdnative.gen.h"
#include <arvr/godot_arvr.h>
// Include all headers for now. TODO: Look up all the required
// headers we need to import based on the method arguments and return types.
#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>
*/
import "C"
import "unsafe"

// NewEmptyArvrInterfaceGdnative will return a pointer to an empty
// initialized ArvrInterfaceGdnative. This is primarily used in
// conjunction with MethodBindPtrCall.
func NewEmptyArvrInterfaceGdnative() Pointer {
	var obj C.godot_arvr_interface_gdnative
	return Pointer{base: unsafe.Pointer(&obj)}
}

// NewPointerFromArvrInterfaceGdnative will return an unsafe pointer to the given
// object. This is primarily used in conjunction with MethodBindPtrCall.
func NewPointerFromArvrInterfaceGdnative(obj ArvrInterfaceGdnative) Pointer {
	return Pointer{base: unsafe.Pointer(obj.getBase())}
}

// NewArvrInterfaceGdnativeFromPointer will return a ArvrInterfaceGdnative from the
// given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
func NewArvrInterfaceGdnativeFromPointer(ptr Pointer) ArvrInterfaceGdnative {

	return ArvrInterfaceGdnative{base: (*C.godot_arvr_interface_gdnative)(ptr.getBase())}
}

// ArvrInterfaceGdnative data structure wrapper
type ArvrInterfaceGdnative struct {
	base *C.godot_arvr_interface_gdnative

	Version GdnativeApiVersion
}

// returns the wrapped C base data type for this type
func (gdt ArvrInterfaceGdnative) getBase() *C.godot_arvr_interface_gdnative {
	return gdt.base
}
