projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
メモリリークの修正
[YACASL2.git]
/
include
/
cmem.h
diff --git
a/include/cmem.h
b/include/cmem.h
index
134baa8
..
e8b0aba
100644
(file)
--- a/
include/cmem.h
+++ b/
include/cmem.h
@@
-75,4
+75,14
@@
char *strndup_chk(const char *s, size_t len, const char *tag);
* @param s 文字列
*/
char *strip_end(char *s);
+
+/**
+ * @brief 文字列から「'」以降の文字列をCASL IIのコメントとして削除する。「''」の場合は除く
+ *
+ * @return コメントを削除した文字列
+ *
+ * @param s 文字列
+ */
+char *strip_casl2_comment(char *s);
+
#endif