first pass Windows implementation

This commit is contained in:
Nick Fisher
2023-09-22 08:24:22 +08:00
parent 693e5431ed
commit 15cbed2afa
4 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#ifndef FLUTTER_PLUGIN_POLYVOX_FILAMENT_PLUGIN_C_API_H_
#define FLUTTER_PLUGIN_POLYVOX_FILAMENT_PLUGIN_C_API_H_
#include <flutter_plugin_registrar.h>
#ifdef FLUTTER_PLUGIN_IMPL
#define FLUTTER_PLUGIN_EXPORT __declspec(dllexport)
#else
#define FLUTTER_PLUGIN_EXPORT __declspec(dllimport)
#endif
#if defined(__cplusplus)
extern "C" {
#endif
FLUTTER_PLUGIN_EXPORT void PolyvoxFilamentPluginCApiRegisterWithRegistrar(
FlutterDesktopPluginRegistrarRef registrar);
#if defined(__cplusplus)
} // extern "C"
#endif
#endif // FLUTTER_PLUGIN_POLYVOX_FILAMENT_PLUGIN_C_API_H_