• R/O
  • SSH
  • HTTPS

libpack: Commit


Commit MetaInfo

Revision3 (tree)
Time2009-06-13 21:03:09
Authorrosk_t

Log Message

ライセンス表記を追加 (MIT License)

Change Summary

Incremental Difference

--- libpack/pack.c (revision 2)
+++ libpack/pack.c (revision 3)
@@ -1,5 +1,7 @@
11 /**
22 * @file pack.c
3+ * @author Ryosuke Tajima
4+ * @license The MIT License
35 *
46 * データのpack/unpackライブラリ。
57 *
@@ -30,8 +32,6 @@
3032 */
3133 #include "pack.h"
3234
33-#define INLINE inline
34-
3535 /**
3636 * @brief charをsaveする内部関数
3737 * @param p save先へのポインタ
@@ -625,7 +625,7 @@
625625 * @param buffer データ領域の先頭へのポインタ
626626 * @param format 書式文字列
627627 * @param ... loadする変数列(可変引数)
628- * @revtal buffer内からloadされた領域の直後へのポインタ
628+ * @retval buffer内からloadされた領域の直後へのポインタ
629629 */
630630 char*
631631 pack_load (char *buffer, char *format, ...)
--- libpack/LICENSE (nonexistent)
+++ libpack/LICENSE (revision 3)
@@ -0,0 +1,21 @@
1+The MIT License
2+
3+Copyright (c) 2009 Ryosuke Tajima
4+
5+Permission is hereby granted, free of charge, to any person obtaining a copy
6+of this software and associated documentation files (the "Software"), to deal
7+in the Software without restriction, including without limitation the rights
8+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+copies of the Software, and to permit persons to whom the Software is
10+furnished to do so, subject to the following conditions:
11+
12+The above copyright notice and this permission notice shall be included in
13+all copies or substantial portions of the Software.
14+
15+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+THE SOFTWARE.
\ No newline at end of file
--- libpack/pack.h (revision 2)
+++ libpack/pack.h (revision 3)
@@ -1,6 +1,9 @@
11 /**
22 * @file pack.h
33 * @defgroup pack
4+ * @author Ryosuke Tajima
5+ * @license The MIT License
6+ *
47 * packライブラリの関数宣言
58 */
69 #ifndef __PACK_H__
@@ -9,6 +12,8 @@
912 #include <stdlib.h>
1013 #include <stdarg.h>
1114
15+#define INLINE inline
16+
1217 int pack_size (char *format, ...);
1318 char* pack_save (char *buffer, char *format, ...);
1419 char* pack_load (char* self, char* format, ...);
Show on old repository browser