2023-01-01 16:55:35 +01:00
|
|
|
// Copyright 2023 The Ebitengine Authors
|
2021-12-17 07:03:23 +01:00
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
|
2022-08-12 05:40:23 +02:00
|
|
|
//go:build nintendosdk
|
2021-12-17 07:03:23 +01:00
|
|
|
|
2023-01-01 16:55:35 +01:00
|
|
|
#include <EGL/egl.h>
|
2021-12-17 07:03:23 +01:00
|
|
|
|
2023-01-01 16:55:35 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2021-12-17 07:03:23 +01:00
|
|
|
|
2023-01-03 11:23:38 +01:00
|
|
|
NativeWindowType ebitengine_Initialize();
|
2023-01-01 16:55:35 +01:00
|
|
|
void ebitengine_InitializeProfiler();
|
|
|
|
void ebitengine_RecordProfilerHeartbeat();
|
2021-12-17 07:03:23 +01:00
|
|
|
|
2023-01-01 16:55:35 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|