OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008-2014 Travis Geiselbrecht | 2 * Copyright (c) 2008-2014 Travis Geiselbrecht |
3 * | 3 * |
4 * Permission is hereby granted, free of charge, to any person obtaining | 4 * Permission is hereby granted, free of charge, to any person obtaining |
5 * a copy of this software and associated documentation files | 5 * a copy of this software and associated documentation files |
6 * (the "Software"), to deal in the Software without restriction, | 6 * (the "Software"), to deal in the Software without restriction, |
7 * including without limitation the rights to use, copy, modify, merge, | 7 * including without limitation the rights to use, copy, modify, merge, |
8 * publish, distribute, sublicense, and/or sell copies of the Software, | 8 * publish, distribute, sublicense, and/or sell copies of the Software, |
9 * and to permit persons to whom the Software is furnished to do so, | 9 * and to permit persons to whom the Software is furnished to do so, |
10 * subject to the following conditions: | 10 * subject to the following conditions: |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 out: | 343 out: |
344 free(src); | 344 free(src); |
345 free(dst); | 345 free(dst); |
346 free(src2); | 346 free(src2); |
347 free(dst2); | 347 free(dst2); |
348 | 348 |
349 return 0; | 349 return 0; |
350 } | 350 } |
351 | 351 |
352 STATIC_COMMAND_START | 352 STATIC_COMMAND_START |
353 { "string", "memcpy tests", &string_tests }, | 353 STATIC_COMMAND("string", "memcpy tests", &string_tests) |
354 STATIC_COMMAND_END(stringtests); | 354 STATIC_COMMAND_END(stringtests); |
355 | 355 |
356 #endif | 356 #endif |
357 | 357 |
358 APP_START(stringtests) | 358 APP_START(stringtests) |
359 APP_END | 359 APP_END |
360 | 360 |
OLD | NEW |