summaryrefslogtreecommitdiff
path: root/include/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/debug.h')
-rw-r--r--include/debug.h31
1 files changed, 15 insertions, 16 deletions
diff --git a/include/debug.h b/include/debug.h
index ba30c8698..93542ef68 100644
--- a/include/debug.h
+++ b/include/debug.h
@@ -27,14 +27,14 @@
#define TEXT_X_POSSITION -0x5
// flags
-#define DISPLAY_DECIMAL_NUMBER 0x1
-#define DISPLAY_HEXIDECIMAL_NUMBER 0x2
-#define DISPLAY_OCTAL_NUMBER 0x4
-#define DISPLAY_BINARY_NUMBER 0x8
-#define DISPLAY_SIGNED_NUMBER 0x10
-#define DISPLAY_FLOAT_AS_TYPE 0x20
-#define DISPLAY_FLOAT_WITH_ROUNDING 0x40
-#define DISPLAY_FLOAT_NUMBER 0x80
+#define DISPLAY_DECIMAL_NUMBER 0x1
+#define DISPLAY_HEXIDECIMAL_NUMBER 0x2
+#define DISPLAY_OCTAL_NUMBER 0x4
+#define DISPLAY_BINARY_NUMBER 0x8
+#define DISPLAY_SIGNED_NUMBER 0x10
+#define DISPLAY_FLOAT_AS_TYPE 0x20
+#define DISPLAY_FLOAT_WITH_ROUNDING 0x40
+#define DISPLAY_FLOAT_NUMBER 0x80
#define HEXIDECIMAL 16
#define DECIMAL 10
@@ -45,14 +45,13 @@
* This structure is the heart of the DVDL.
* only the first 4 attributes should be set by the user, the other 2 are used by the program.
*/
-typedef struct
-{
- char *variableName; // name of the variable to be displayed
- void *variablePointer; // pointer to the variable so it can display it
- u8 variableSize; // size of the variable to make up for templates from C++
- u8 variableFlag; // flag to change how the variable is displayed
- char buffer[CHARACTER_BUFFER_SIZE]; // when converting a variable to string this will be filled
- char *characterBuffer; // silly pointer so i don't need to do stuff
+typedef struct {
+ char* variableName; // name of the variable to be displayed
+ void* variablePointer; // pointer to the variable so it can display it
+ u8 variableSize; // size of the variable to make up for templates from C++
+ u8 variableFlag; // flag to change how the variable is displayed
+ char buffer[CHARACTER_BUFFER_SIZE]; // when converting a variable to string this will be filled
+ char* characterBuffer; // silly pointer so i don't need to do stuff
} variableWatchAttributes;
/**