|
'uvsprintf' in Allegro5 |
anto80
Member #3,230
February 2003
|
Hello all, In Allegro 4, there was an function named uvsprintf in order to manage variable arguments '...' on a function. Allegro 4 example: void foo(float x, float y, char* szFormat, ...) { char szBuf[512]; va_list ap; va_start(ap, szFormat); uvsprintf(szBuf, szFormat, ap); va_end(ap); } The documentation "See Also:" points to 3 function from Allegro 4 ( uconvert , usprintf , uvszprintf ) but none from Allegro 5. Thank you in advance for your help ___________ |
Thomas Fjellstrom
Member #476
June 2000
|
I believe you want al_ustr_vappendf. Or if you don't want utf8, vsnprintf. -- |
anto80
Member #3,230
February 2003
|
Sorry for the late reply and thank you for your answer. ___________ |
|