目次 - SDL 3.0 API(機能別) - 標準ライブラリ - SDL_PRILL_PREFIX

SDL_PRILL_PREFIX

printf形式文字列のlong long型の値のサイズ接頭辞のマクロ

ヘッダ

SDL3/SDL_stdinc.h

構文

#define SDL_PRILL_PREFIX "ll"

詳細

これは単なるサイズ接頭辞である. 恐らく実際に必要なのはSDL_PRILLd, SDL_PRILLu, SDL_PRILLx, SDL_PRILLXだろう.

使用例:

SDL_Log("There are %" SDL_PRILL_PREFIX "d bottles of beer on the wall.", bottles);

バージョン

SDL 3.2.0以降

SDL Wikiへのリンク

SDL_PRILL_PREFIX - SDL Wiki