note description: "This file has been generated by WrapC. Do not edit. Changes will be lost!" generator: "Eiffel Wrapper Generator" class SDL_MOUSE_WHEEL_EVENT_STRUCT_API inherit MEMORY_STRUCTURE create make, make_by_pointer feature -- Measurement structure_size: INTEGER_32 -- Size to allocate (in bytes). do Result := sizeof_external end feature -- Member Access type: NATURAL_32 -- Access member type require exists: exists do Result := c_type (item) ensure result_correct: Result = c_type (item) end set_type (a_value: NATURAL_32) -- Change the value of member type to a_value. require exists: exists do set_c_type (item, a_value) ensure type_set: a_value = type end timestamp: NATURAL_32 -- Access member timestamp require exists: exists do Result := c_timestamp (item) ensure result_correct: Result = c_timestamp (item) end set_timestamp (a_value: NATURAL_32) -- Change the value of member timestamp to a_value. require exists: exists do set_c_timestamp (item, a_value) ensure timestamp_set: a_value = timestamp end windowid: NATURAL_32 -- Access member windowid require exists: exists do Result := c_windowid (item) ensure result_correct: Result = c_windowid (item) end set_windowid (a_value: NATURAL_32) -- Change the value of member windowid to a_value. require exists: exists do set_c_windowid (item, a_value) ensure windowid_set: a_value = windowid end which: NATURAL_32 -- Access member which require exists: exists do Result := c_which (item) ensure result_correct: Result = c_which (item) end set_which (a_value: NATURAL_32) -- Change the value of member which to a_value. require exists: exists do set_c_which (item, a_value) ensure which_set: a_value = which end x: INTEGER_32 -- Access member x require exists: exists do Result := c_x (item) ensure result_correct: Result = c_x (item) end set_x (a_value: INTEGER_32) -- Change the value of member x to a_value. require exists: exists do set_c_x (item, a_value) ensure x_set: a_value = x end y: INTEGER_32 -- Access member y require exists: exists do Result := c_y (item) ensure result_correct: Result = c_y (item) end set_y (a_value: INTEGER_32) -- Change the value of member y to a_value. require exists: exists do set_c_y (item, a_value) ensure y_set: a_value = y end direction: NATURAL_32 -- Access member direction require exists: exists do Result := c_direction (item) ensure result_correct: Result = c_direction (item) end set_direction (a_value: NATURAL_32) -- Change the value of member direction to a_value. require exists: exists do set_c_direction (item, a_value) ensure direction_set: a_value = direction end feature {NONE} -- Implementation wrapper for struct struct SDL_MouseWheelEvent sizeof_external: INTEGER_32 external "C inline use <SDL.h>" alias "sizeof(struct SDL_MouseWheelEvent)" end c_type (an_item: POINTER): NATURAL_32 require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->type ]" end set_c_type (an_item: POINTER; a_value: NATURAL_32) require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->type = (Uint32)$a_value ]" ensure type_set: a_value = c_type (an_item) end c_timestamp (an_item: POINTER): NATURAL_32 require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->timestamp ]" end set_c_timestamp (an_item: POINTER; a_value: NATURAL_32) require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->timestamp = (Uint32)$a_value ]" ensure timestamp_set: a_value = c_timestamp (an_item) end c_windowid (an_item: POINTER): NATURAL_32 require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->windowID ]" end set_c_windowid (an_item: POINTER; a_value: NATURAL_32) require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->windowID = (Uint32)$a_value ]" ensure windowid_set: a_value = c_windowid (an_item) end c_which (an_item: POINTER): NATURAL_32 require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->which ]" end set_c_which (an_item: POINTER; a_value: NATURAL_32) require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->which = (Uint32)$a_value ]" ensure which_set: a_value = c_which (an_item) end c_x (an_item: POINTER): INTEGER_32 require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->x ]" end set_c_x (an_item: POINTER; a_value: INTEGER_32) require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->x = (Sint32)$a_value ]" ensure x_set: a_value = c_x (an_item) end c_y (an_item: POINTER): INTEGER_32 require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->y ]" end set_c_y (an_item: POINTER; a_value: INTEGER_32) require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->y = (Sint32)$a_value ]" ensure y_set: a_value = c_y (an_item) end c_direction (an_item: POINTER): NATURAL_32 require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->direction ]" end set_c_direction (an_item: POINTER; a_value: NATURAL_32) require an_item_not_null: an_item /= default_pointer external "C inline use <SDL.h>" alias "[ ((struct SDL_MouseWheelEvent*)$an_item)->direction = (Uint32)$a_value ]" ensure direction_set: a_value = c_direction (an_item) end end -- class SDL_MOUSE_WHEEL_EVENT_STRUCT_API
Generated by ISE EiffelStudio