Changeset 12438
- Timestamp:
- 06/15/12 21:39:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Exceptions/exprintf.cpp
r12437 r12438 9 9 #include <stdarg.h> 10 10 #include <stdio.h> 11 #include "../Alloc/ xNewDelete.h"11 #include "../Alloc/alloc.h" 12 12 13 13 char* exprintf(const char* format,...){ … … 17 17 18 18 /*Assum nobody will print more that 1024 characters!*/ 19 string= xNew<char>(1024);//assume that nobody will print more than 1024 characters at once.19 string=(char*)xmalloc(1024*sizeof(char));//assume that nobody will print more than 1024 characters at once. 20 20 21 21 //variable list of arguments
Note:
See TracChangeset
for help on using the changeset viewer.