SDL_MS_TO_NS - Convert milliseconds to nanoseconds.
Contents
Availability
This macro is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_MS_TO_NS(3)
Description
This only converts whole numbers, not fractional milliseconds.
Header File
Defined in SDL3/SDL_timer.h
Name
SDL_MS_TO_NS - Convert milliseconds to nanoseconds.
Return Value
Returns MS, expressed in nanoseconds.
Synopsis
#include"SDL3/SDL.h"#defineSDL_MS_TO_NS(MS)(((Uint64)(MS))*SDL_NS_PER_MS)
Thread Safety
It is safe to call this macro from any thread.
