zenilib: zenilib/jni/external/sdl/src/timer/SDL_timer_c.h File Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Functions
SDL_timer_c.h File Reference
`#include "SDL_config.h"`
`#include "SDL_timer.h"`

Go to the source code of this file.

## Macros

#define | ROUND_RESOLUTION(X) (((X+TIMER_RESOLUTION-1)/TIMER_RESOLUTION)*TIMER_RESOLUTION)

## Functions

void | SDL_InitTicks (void)
int | SDL_TimerInit (void)
void | SDL_TimerQuit (void)

## Macro Definition Documentation

#define ROUND_RESOLUTION | ( |  | X | ) | (((X+TIMER_RESOLUTION-1)/TIMER_RESOLUTION)*TIMER_RESOLUTION)

Definition at line 26 of file SDL_timer_c.h.

## Function Documentation

void SDL_InitTicks | ( | void |  | ) |

Definition at line 34 of file SDL_systimer.c.

References NULL, SDL_TRUE, and ticks_started.

int SDL_TimerInit | ( | void |  | ) |

Definition at line 206 of file SDL_timer.c.

References NULL, SDL_AtomicSet(), SDL_CreateMutex(), SDL_CreateSemaphore(), SDL_CreateThread(), SDL_DestroyMutex(), SDL_timer_data, SDL_TimerQuit(), SDL_TimerThread(), and SDL_TRUE.

void SDL_TimerQuit | ( | void |  | ) |

Definition at line 242 of file SDL_timer.c.

References NULL, SDL_DestroyMutex(), SDL_DestroySemaphore(), SDL_FALSE, SDL_free(), SDL_SemPost(), SDL_timer_data, and SDL_WaitThread().