Home Page
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user