diff options
m--------- | doc | 0 | ||||
-rw-r--r-- | numericx.c | 17 | ||||
-rw-r--r-- | numericx.h | 17 |
3 files changed, 17 insertions, 17 deletions
diff --git a/doc b/doc -Subproject 696534107c7a3bad0f8d5dd90fc7aed83c36c92 +Subproject 777bc1352f1ded8252b825232c9743578578365 diff --git a/numericx.c b/numericx.c index 5c70012..e4df860 100644 --- a/numericx.c +++ b/numericx.c @@ -9,6 +9,23 @@ #include "numericx.h" +/* ||DATA STRUCTURE|| */ + +/** + * @brief Numeral structure + * + * This struct is in use to apply our operations on the number. + * The number are converted to this struct, the operations are applied, + * and on the end, the resulting number is converted from this struct. + */ +typedef struct NumeralPtr +{ + char const* symbol; /**< a pointer to the glyph/numeral/symbol of this digit. */ + struct NumeralPtr *next; /**< a pointer to the next digit */ + struct NumeralPtr *previous; /**< a pointer to the previous digit */ +} numeral_ptr; + + /* ||FUNCTIONS|| */ /** diff --git a/numericx.h b/numericx.h index 6870710..1ee09bf 100644 --- a/numericx.h +++ b/numericx.h @@ -7,23 +7,6 @@ #include <stdbool.h> -/* ||DATA STRUCTURE|| */ - -/** - * @brief Numeral structure - * - * This struct is in use to apply our operations on the number. - * The number are converted to this struct, the operations are applied, - * and on the end, the resulting number is converted from this struct. - */ -typedef struct NumeralPtr -{ - char const* symbol; /**< a pointer to the glyph/numeral/symbol of this digit. */ - struct NumeralPtr *next; /**< a pointer to the next digit */ - struct NumeralPtr *previous; /**< a pointer to the previous digit */ -} numeral_ptr; - - /* ||FUNCTIONS|| */ void |