Updated ideas.
This commit is contained in:
1 parent
65d13cc046
commit
247df18225
5 files changed
+21
-9
No files matched your search
@@ -9,6 +9,8 @@
|
||||
#include "../libs.h"
|
||||
|
||||
#define STRING_HANDLEBAR_KEY_MAXLENGTH 32
|
||||
#define STRING_HANDLEBAR_LIST_VARIABLE_SIZE 512
|
||||
#define STRING_HANDLEBAR_LIST_VARIABLE_COUNT 64
|
||||
|
||||
/** Representation of a String Handlebar Variable */
|
||||
typedef struct {
|
||||
@@ -16,4 +18,11 @@ typedef struct {
|
||||
char *key;
|
||||
/** The value to replace it with */
|
||||
char *value;
|
||||
} stringhandlebarvariable_t;
|
||||
} stringhandlebarvariable_t;
|
||||
|
||||
typedef struct {
|
||||
char buffer[
|
||||
STRING_HANDLEBAR_LIST_VARIABLE_SIZE * STRING_HANDLEBAR_LIST_VARIABLE_COUNT
|
||||
];
|
||||
stringhandlebarvariable_t variables[STRING_HANDLEBAR_LIST_VARIABLE_COUNT];
|
||||
} stringhandlebarvariablelist_t;
|
||||
Reference in new issue
Block a user