]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - pr_comp.h
strlwr does not exist on Linux
[xonotic/darkplaces.git] / pr_comp.h
index 6b35e5c15629352bad8344326b00a89cc2599442..46fdc6b70c624aeee86ec6655a6f1ce0dd63ada1 100644 (file)
--- a/pr_comp.h
+++ b/pr_comp.h
@@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifndef PR_COMP_H
 #define PR_COMP_H
 
-typedef int    func_t;
+typedef unsigned int   func_t;
 typedef int    string_t;
 
 typedef enum {ev_void, ev_string, ev_float, ev_vector, ev_entity, ev_field, ev_function, ev_pointer} etype_t;
@@ -161,6 +161,7 @@ typedef struct
 
        int             profile;                // runtime
        int             builtinsprofile; // cost of builtin functions called by this function
+       int             callcount; // times the functions has been called since the last profile call
 
        int             s_name;
        int             s_file;                 // source file defined in