From df6caea25db9c9fdf9a9040f853a87fbe1c7867f Mon Sep 17 00:00:00 2001
From: lazaray <104470294+lazaray@users.noreply.github.com>
Date: Wed, 4 May 2022 11:06:01 +0200
Subject: Parser improvements (#2461)
* Fix parser function description detection
Some functions in easings.h are defined on a single line and include a
division which was mistaken for the start of the description.
* Fix parser detection of macros including spaces
* Add support for self-referencing structs to parser
* Fix parser code style
* Fix parser handling of multiple fields on one line
* Increase parser MAX_STRUCT_FIELDS
For internal rlglData State struct (internal structs are still not
supported but this makes it less wrong).
* Add description helper to parser
* Regenerate parser output
* Add cakkbacks to parser
* Regenerate parser output
* Refactor funcLines to be an array of line numbers
It used to be an array of pointers into the text buffer but was changed
to be an array of pointers to the lines. Now it is an array of line
numbers like the others.
* Fix code style
* Move array size from name to type
* Regenerate parser output
---
parser/raylib_api.xml | 65 ++++++++++++++++++++++++++++++++++++---------------
1 file changed, 46 insertions(+), 19 deletions(-)
(limited to 'parser/raylib_api.xml')
diff --git a/parser/raylib_api.xml b/parser/raylib_api.xml
index d1f58b5c..db7761c5 100644
--- a/parser/raylib_api.xml
+++ b/parser/raylib_api.xml
@@ -106,7 +106,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -138,7 +138,7 @@
-
+
@@ -206,18 +206,18 @@
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -975,7 +975,7 @@
-
+
@@ -986,7 +986,7 @@
-
+
@@ -994,22 +994,22 @@
-
+
-
+
-
+
-
+
@@ -2695,4 +2695,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--
cgit v1.2.3