shithub: tinygl

Download patch

ref: 00753c1bce73d9d7eda249ca375a473daa0af974
parent: ae22b98cfa98bd66b8e89101b4c15f5dff33c1e7
author: MHS <gek@katherine>
date: Mon Apr 5 16:07:48 EDT 2021

Automatic commit.

--- a/include-demo/stringutil.h
+++ b/include-demo/stringutil.h
@@ -23,11 +23,13 @@
 #define strcatafb strcatallocfb
 #endif
 
-#ifndef LOOP
-
+#ifndef loop
 //Loop without errors!
-#define LOOP(v, e)\
+#define loop(v, e)\
 for(unsigned long long v = 0, __internal_##v = 0; __internal_##v < e; __internal_##v++, v = __internal_##v)
+
+#define loople(v, e)\
+for(unsigned long long v = 0, __internal_##v = 0; __internal_##v <= e; __internal_##v++, v = __internal_##v)
 
 #endif
 //Strcat but with malloc.