give sprintf a real prototype

This commit is contained in:
Bill Currie 2010-01-13 06:25:38 +00:00 committed by Jeff Teunissen
parent 40fefff847
commit 128faf773a
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
@extern float (string s) stof; @extern float (string s) stof;
@extern float (string s) strlen; @extern float (string s) strlen;
@extern float (string goal, string s) charcount; @extern float (string goal, string s) charcount;
@extern string (...) sprintf; @extern string (string fmt, ...) sprintf;
@extern string (integer i) itos; @extern string (integer i) itos;
@extern integer (string s) stoi; @extern integer (string s) stoi;
@extern vector (string s) stov; @extern vector (string s) stov;

View file

@ -5,7 +5,7 @@ string (vector v) vtos = #27;
float (string s) stof = #81; float (string s) stof = #81;
float (string s) strlen = #0x000f0000 + 100; float (string s) strlen = #0x000f0000 + 100;
float (string goal, string s) charcount = #0x000f0000 + 101; float (string goal, string s) charcount = #0x000f0000 + 101;
string (...) sprintf = #0x000f0000 + 109; string (string fmt, ...) sprintf = #0x000f0000 + 109;
string (integer i) itos = #0x000f0000 + 112; string (integer i) itos = #0x000f0000 + 112;
integer (string s) stoi = #0x000f0000 + 113; integer (string s) stoi = #0x000f0000 + 113;
vector (string s) stov = #0x000f0000 + 114; vector (string s) stov = #0x000f0000 + 114;