Skip to content

Commit fd7346e

Browse files
author
Martin Klang
committed
added dummy genlib get/set state functions for native build
1 parent 2200371 commit fd7346e

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

GenSource/GenPatch.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#include "Patch.h"
55
#include "gen.h"
6+
#include "genlib.h"
67
#include "PatchMetadata.h"
78

89
#if __has_include("metadata.h")

GenSource/genlib.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,4 +463,17 @@ short genlib_setstate(CommonState *cself, const char *state, setparameter_method
463463

464464
return 0;
465465
}
466+
#else
467+
short genlib_setstate(CommonState *cself, const char *state, setparameter_method setmethod)
468+
{
469+
return 0;
470+
}
471+
short genlib_getstate(CommonState *cself, char *state, getparameter_method getmethod)
472+
{
473+
return 0;
474+
}
475+
size_t genlib_getstatesize(CommonState *cself, getparameter_method getmethod)
476+
{
477+
return 0;
478+
}
466479
#endif

0 commit comments

Comments
 (0)