xtd_c - Reference Guide 0.2.0
event_args.h File Reference
#include "types.h"

Definition

Contains event args definitions.

Go to the source code of this file.

Data Structures

struct  xtd_event_args
 Represent an instance of the event args object. More...
 

Fields

xtd_event_args xtd_event_args_empty ()
 Provides a value to use with events that do not have event data. More...
 

Methods

xtd_event_args xtd_event_args_with_user_data (xtd_handle user_data)
 Creates an xtd_event_args structure with user data. More...
 

Function Documentation

◆ xtd_event_args_empty()

xtd_event_args xtd_event_args_empty ( )

Provides a value to use with events that do not have event data.

Remarks
Pass this value to event handlers that are associated with events that do not have data.

◆ xtd_event_args_with_user_data()

xtd_event_args xtd_event_args_with_user_data ( xtd_handle  user_data)

Creates an xtd_event_args structure with user data.

Parameters
user_dataAn xtd_handle on user data.
Remarks
Generally used to transmit data to the function called by the event.