chickadee » sdl2 » user-event-data1-raw

user-event-data1-raw eventprocedure
set! (user-event-data1-raw event) valsetter
user-event-data1-raw-set! event valsetter

Get or set the event's "data1" field, as a raw pointer or #f. The meaning of this field is for you to decide.

If you want to store a pointer to a Scheme object here, be sure to evict the object first. Otherwise the object's location in memory might change, rendering the pointer invalid.