cstring_8h_source.tex 1.0 KB

123456789101112131415161718192021
  1. \hypertarget{cstring_8h_source}{}\doxysection{cstring.\+h}
  2. \label{cstring_8h_source}\index{include/toolbox/cstring.h@{include/toolbox/cstring.h}}
  3. \begin{DoxyCode}{0}
  4. \DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef TOOLBOX\_CSTRING\_H}}
  5. \DoxyCodeLine{2 \textcolor{preprocessor}{\#define TOOLBOX\_CSTRING\_H}}
  6. \DoxyCodeLine{3 }
  7. \DoxyCodeLine{4 \textcolor{preprocessor}{\#include <stdbool.h>}}
  8. \DoxyCodeLine{5 \textcolor{preprocessor}{\#include <stddef.h>}}
  9. \DoxyCodeLine{6 }
  10. \DoxyCodeLine{7 \_\_attribute\_\_((\_\_pure\_\_))}
  11. \DoxyCodeLine{8 \textcolor{keywordtype}{size\_t}}
  12. \DoxyCodeLine{9 cstring\_len(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *cstring);}
  13. \DoxyCodeLine{10 }
  14. \DoxyCodeLine{11 \_\_attribute\_\_((\_\_pure\_\_))}
  15. \DoxyCodeLine{12 \textcolor{keywordtype}{bool}}
  16. \DoxyCodeLine{13 cstring\_equal(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *restrict cstring\_1, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *restrict cstring\_2);}
  17. \DoxyCodeLine{14 }
  18. \DoxyCodeLine{15 \textcolor{preprocessor}{\#endif}}
  19. \end{DoxyCode}