projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strip_casl2_commentとstrip_end関数の返り値をvoidに
[YACASL2.git]
/
include
/
cmem.h
diff --git
a/include/cmem.h
b/include/cmem.h
index
e8b0aba
..
2411980
100644
(file)
--- a/
include/cmem.h
+++ b/
include/cmem.h
@@
-70,19
+70,28
@@
char *strndup_chk(const char *s, size_t len, const char *tag);
/**
* @brief 文字列の末尾から、改行と空白とタブを削除する
*
/**
* @brief 文字列の末尾から、改行と空白とタブを削除する
*
- * @return
æ
\9c
«å°¾ã
\81
\8b
ã
\82
\89
æ
\94
¹è¡
\8c
ã
\81
¨ç©ºç
\99
½ã
\81
¨ã
\82
¿ã
\83
\96
ã
\82
\92
å
\89
\8a
é
\99
¤ã
\81
\97
ã
\81
\9f
æ
\96
\87
å
\97
å
\88
\97
+ * @return
ã
\81
ªã
\81
\97
*
* @param s 文字列
*/
*
* @param s 文字列
*/
-
char *
strip_end(char *s);
+
void
strip_end(char *s);
/**
* @brief 文字列から「'」以降の文字列をCASL IIのコメントとして削除する。「''」の場合は除く
*
/**
* @brief 文字列から「'」以降の文字列をCASL IIのコメントとして削除する。「''」の場合は除く
*
- * @return コメントを削除した文字列
+ * @return なし
+ *
+ * @param s 文字列
+ */
+void strip_casl2_comment(char *s);
+
+/**
+ * @brief 逆にした文字列を返す
+ *
+ * @return 逆にしたした文字列
*
* @param s 文字列
*/
*
* @param s 文字列
*/
-char *str
ip_casl2_comment(
char *s);
+char *str
rev(const
char *s);
#endif
#endif