Skip to content

Commit 932b0a1

Browse files
Declare window property on SDL_Event class
1 parent ee620e6 commit 932b0a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/event.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ PHP_MINIT_FUNCTION(sdl_event)
288288
zend_declare_property_null(php_sdl_event_ce, ZEND_STRL("type"), ZEND_ACC_PUBLIC);
289289
zend_declare_property_null(php_sdl_event_ce, ZEND_STRL("key"), ZEND_ACC_PUBLIC);
290290
zend_declare_property_null(php_sdl_event_ce, ZEND_STRL("motion"), ZEND_ACC_PUBLIC);
291+
zend_declare_property_null(php_sdl_event_ce, ZEND_STRL("window"), ZEND_ACC_PUBLIC);
291292

292293
return SUCCESS;
293294
}

0 commit comments

Comments
 (0)