Modified GUR Utility, Created Code Block Utility

+- 249GURUtility.h
++ CodeBlockUtils.h
This commit is contained in:
Charles Descamps 2023-11-18 12:30:35 -07:00
parent 068d947b2a
commit cedaecdc04
2 changed files with 58 additions and 1 deletions

View file

@ -1,3 +1,18 @@
// preprocessor directives
#ifndef GUR249_UTILITY
#define GUR249_UTILITY
// header files
//#include ""
//#include <>
// constants
// none currently
// data structures
// none currently
// function prototypes
/* /*
Name: checkForSingleLetterVariable (GUR 1 - 249) Name: checkForSingleLetterVariable (GUR 1 - 249)
Process: checks for single letter variables in code, warns if there may be a Process: checks for single letter variables in code, warns if there may be a
@ -296,4 +311,6 @@ Function output/returned: ???
Device input/ ---: ??? Device input/ ---: ???
Device output/ ---: ??? Device output/ ---: ???
Dependencies: ??? Dependencies: ???
*/ */
#endif

40
CodeBlockUtils.h Normal file
View file

@ -0,0 +1,40 @@
// preprocessor directives
#ifndef CB_UTILITY
#define CB_UTILITY
// header files
// #include ""
// #include <>
// constants
// none currently
// data structures
// none currently
// function prototypes
/*
Name: isWithinCodeBlock
Process: checks if currently within a code block, between {}. Returns -1 if in
global context, returns 0+ depending how nested the code block is.
Function input/parameters: ???
Function output/parameters: ???
Function output/returned: ???
Device input/ ---: ???
Device output/ ---: ???
Dependencies: ???
*/
/*
Name: template
Process: template prototype commentary
Function input/parameters: ???
Function output/parameters: ???
Function output/returned: ???
Device input/ ---: ???
Device output/ ---: ???
Dependencies: ???
*/
#endif