strip_casl2_commentとstrip_end関数の返り値をvoidに
[YACASL2.git] / include / cmem.h
index e8b0aba..2411980 100644 (file)
@@ -70,19 +70,28 @@ char *strndup_chk(const char *s, size_t len, const char *tag);
 /**
  * @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 文字列
  */
-char *strip_end(char *s);
+void strip_end(char *s);
 
 /**
  * @brief 文字列から「'」以降の文字列をCASL IIのコメントとして削除する。「''」の場合は除く
  *
- * @return コメントを削除した文字列
+ * @return なし
+ *
+ * @param s 文字列
+ */
+void strip_casl2_comment(char *s);
+
+/**
+ * @brief 逆にした文字列を返す
+ *
+ * @return 逆にしたした文字列
  *
  * @param s 文字列
  */
-char *strip_casl2_comment(char *s);
+char *strrev(const char *s);
 
 #endif