Skip to content
Snippets Groups Projects
Commit b7f2918f authored by gambas's avatar gambas
Browse files

Correctly generate metadata file for events so that there is no spurious ByRef arguments anymore.

[COMPILER]
* BUG: Correctly generate metadata file for events so that there is no spurious ByRef arguments anymore.
parent e8ae38e0
No related branches found
No related tags found
Loading
Pipeline #87237857 passed
...@@ -372,7 +372,7 @@ void CLASS_add_event(CLASS *class, TRANS_EVENT *decl) ...@@ -372,7 +372,7 @@ void CLASS_add_event(CLASS *class, TRANS_EVENT *decl)
if (event->nparam) if (event->nparam)
{ {
ALLOC(&event->param, decl->nparam * sizeof(PARAM)); ALLOC_ZERO(&event->param, decl->nparam * sizeof(PARAM));
for (i = 0; i < decl->nparam; i++) for (i = 0; i < decl->nparam; i++)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment