From 6608a8ba6790f981deed859a0f96d303a6028d66 Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Sat, 19 Mar 2022 10:01:12 +0000 Subject: move between files numeral_ptr struct * move numeral_ptr struct from numericx.h to numericx.c * doc update Signed-off-by: Daniel Santos --- doc | 2 +- numericx.c | 17 +++++++++++++++++ numericx.h | 17 ----------------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/doc b/doc index 6965341..777bc13 160000 --- a/doc +++ b/doc @@ -1 +1 @@ -Subproject commit 696534107c7a3bad0f8d5dd90fc7aed83c36c92a +Subproject commit 777bc1352f1ded8252b825232c97435785783650 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 -/* ||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 -- cgit 1.4.1-2-gfad0