- Timestamp:
- 10/24/2007 10:44:51 (13 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
lib/syck.c (modified) (1 diff)
-
lib/syck.h (modified) (2 diffs)
-
tests/CuTest.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/syck.c
r233 r286 31 31 */ 32 32 char * 33 syck_strndup( c har *buf, long len )33 syck_strndup( const char *buf, long len ) 34 34 { 35 35 char *new = S_ALLOC_N( char, len + 1 ); -
trunk/lib/syck.h
r269 r286 20 20 #define SYCK_VERSION "0.61" 21 21 #define YAML_DOMAIN "yaml.org,2002" 22 23 #include "config.h" 22 24 23 25 #ifdef HAVE_STDLIB_H … … 382 384 * API prototypes 383 385 */ 384 char *syck_strndup( c har *, long );386 char *syck_strndup( const char *, long ); 385 387 long syck_io_file_read( char *, SyckIoFile *, long, long ); 386 388 long syck_io_str_read( char *, SyckIoStr *, long, long ); -
trunk/tests/CuTest.h
r269 r286 31 31 void CuStringAppendFormat(CuString* str, char* format, ...); 32 32 void CuStringResize(CuString* str, int newSize); 33 void CuStringFree(CuString* str); 33 34 34 35 void CuStringFree(CuString *str); … … 78 79 void CuSuiteInit(CuSuite* testSuite); 79 80 CuSuite* CuSuiteNew(); 81 void CuSuiteFree(CuSuite* testSuite); 80 82 void CuSuiteAdd(CuSuite* testSuite, CuTest *testCase); 81 83 void CuSuiteAddSuite(CuSuite* testSuite, CuSuite* testSuite2);