feat: add support for Flutter Linux, macOS and Windows (#10)

This commit is contained in:
Aleksey Kulikov 2021-10-30 13:54:25 +03:00 committed by GitHub
parent a71bb14b86
commit c8895524be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 401 additions and 18 deletions

View file

@ -0,0 +1,23 @@
#ifndef FLUTTER_PLUGIN_LIBGIT2DART_PLUGIN_H_
#define FLUTTER_PLUGIN_LIBGIT2DART_PLUGIN_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 Libgit2dartPluginRegisterWithRegistrar(
FlutterDesktopPluginRegistrarRef registrar);
#if defined(__cplusplus)
} // extern "C"
#endif
#endif // FLUTTER_PLUGIN_LIBGIT2DART_PLUGIN_H_