Home Page

This commit is contained in:
2024-11-21 16:28:39 -05:00
parent 27ca83ad4f
commit 94843fa797
4 changed files with 81 additions and 7 deletions

View File

@@ -19,6 +19,12 @@ typedef struct { const char *p; ptrdiff_t n; } _GoString_;
/* Start of preamble from import "C" comments. */
#line 3 "ctils.go"
#include <stdlib.h>
#line 1 "cgo-generated-wrapper"
/* End of preamble from import "C" comments. */
@@ -74,8 +80,22 @@ typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
extern "C" {
#endif
/* Return type for prepareCStringArray */
struct prepareCStringArray_return {
char** r0;
GoInt r1;
};
extern __declspec(dllexport) struct prepareCStringArray_return prepareCStringArray(GoSlice goStrings);
extern __declspec(dllexport) void freeCStringArray(char** cStrings, GoInt length);
extern __declspec(dllexport) void loadConfigs();
extern __declspec(dllexport) GoSlice getConfigNames();
/* Return type for getConfigNames */
struct getConfigNames_return {
char** r0;
int r1;
};
extern __declspec(dllexport) struct getConfigNames_return getConfigNames();
extern __declspec(dllexport) char* getCode(GoString configName);
extern __declspec(dllexport) GoUint64 getTimeRemaining(GoInt n);
extern __declspec(dllexport) GoUint64 getTimeRemainingMS(GoInt n);