]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/urllib.qh
Mark [[eraseable]] most of the common functions in the lib directory. Since many...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / urllib.qh
index 00523a84f137adb1e9d1a393d7da07008070bfa7..acb4077d6a49422c9f275d0ea37910d4e05d3c9c 100644 (file)
@@ -17,14 +17,20 @@ const float URL_READY_CANREAD  =  2;
 // errors: -1, or negative HTTP status code
 USING(url_ready_func, void (entity handle, entity pass, float status));
 
+[[eraseable]]
 void url_single_fopen(string url, float mode, url_ready_func rdy, entity pass);
+[[eraseable]]
 void url_fclose(entity e);
+[[eraseable]]
 string url_fgets(entity e);
+[[eraseable]]
 void url_fputs(entity e, string s);
 
 // returns true if handled
+[[eraseable]]
 float url_URI_Get_Callback(int id, float status, string data);
 #define MIN_URL_ID URI_GET_URLLIB
 #define NUM_URL_ID (URI_GET_URLLIB_END - URI_GET_URLLIB + 1)
 
+[[eraseable]]
 void url_multi_fopen(string url, float mode, url_ready_func rdy, entity pass);