OSDN Git Service

SDL_HINT_RENDER_DRIVER metalを追加した https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER...
[sdl2referencejp/sdl2referencejp.git] / TTF_SetError.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
2 <html lang="ja-JP">\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">\r
5 <meta http-equiv="Content-Style-Type" content="text/css">\r
6 <meta name="keywords" content="SDL_ttf">\r
7 <link rel="top" href="index.html" title="\83z\81[\83\80">\r
8 <link rel="parent" href="SDL_ttf-functions-general.html" title="1\82Â\8fã">\r
9 <title>TTF_SetError</title>\r
10 </head>\r
11 <body>\r
12 <a href="index.html#SDL_ttf">\96Ú\8e\9f</a> - <a href="SDL_ttf-functions.html">3.\8aÖ\90\94</a> - <a href="SDL_ttf-functions-general.html">3.1\88ê\94Ê</a> - TTF_SetError\r
13 <hr>\r
14 <h1>TTF_SetError</h1>\r
15 <p>\r
16 <code>void TTF_SetError(const char *fmt, ...)</code>\r
17 </p>\r
18 <p>\r
19 \82±\82ê\82Í\8eÀ\8dÛ\82É\82Í<a href="SDL_SetError.html">SDL_SetError</a>\82Ì\83}\83N\83\8d\82Å, <a href="TTF_GetError.html">TTF_GetError</a>(\82Ü\82½\82Í<a href="SDL_GetError.html">SDL_GetError</a>)\82Å\8al\93¾\82·\82é\83G\83\89\81[\83\81\83b\83Z\81[\83W\82ð\90Ý\92è\82·\82é.\r
20 \82±\82Ì\8aÖ\90\94\82Íprintf\82Ì\82æ\82¤\82É\90U\95\91\82¤\82ª, \83\81\83b\83Z\81[\83W\82Ì\92·\82³\82ÉSDL_ERRBUFIZE(1024)\83o\83C\83g\82Ì\90§\8cÀ\82ª\82 \82é. \r
21 \83t\83H\81[\83}\83b\83g\8c`\8e®\82Í\88È\89º\82Ì\82à\82Ì\82Ì\82Ý\91Î\89\9e\82·\82é: %s, %d, %f, %p\r
22 \83t\83\89\83O, \90¸\93x, \8c\85\90\94\82É\82Í\91Î\89\9e\82µ\82Ä\82¢\82È\82¢. \8fÚ\8d×\82ÍSDL\82Ì\83h\83L\83\85\83\81\83\93\83g\82É\8f\91\82©\82ê\82Ä\82¢\82é.\r
23 </p>\r
24 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
25 <code>\r
26 <pre>\r
27 int myfunc(int i) {\r
28     TTF_SetError("myfunc is not implemented! %d was passed in.",i);\r
29     return(-1);\r
30 }\r
31 </pre>\r
32 </code>\r
33 <h2>\8eQ\8fÆ</h2>\r
34 <a href="TTF_GetError.html">TTF_GetError</a>\r
35 <h2>\8c´\95\82Ö\82Ì\83\8a\83\93\83N</h2>\r
36 <a href="http://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf_11.html#SEC11">3.1.5 TTF_SetError</a>\r
37 <hr>\r
38 </body>\r
39 </html>\r