diff options
author | Daniel Santos <dacs.git@brilhante.top> | 2022-03-19 10:01:12 +0000 |
---|---|---|
committer | Daniel Santos <dacs.git@brilhante.top> | 2022-03-19 10:01:12 +0000 |
commit | 6608a8ba6790f981deed859a0f96d303a6028d66 (patch) | |
tree | 55cded9e4181fdb7e748723e5190851d550e2bb7 | |
parent | 5c8a3b16c5b3cd9bace46aa5bb5fc9e85b3d0e39 (diff) | |
download | numericx-c-6608a8ba6790f981deed859a0f96d303a6028d66.tar.gz |
move between files numeral_ptr struct
* move numeral_ptr struct from numericx.h to numericx.c * doc update Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
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 |