OSDN Git Service

SDL_HINT_RENDER_DRIVER metalを追加した https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER...
[sdl2referencejp/sdl2referencejp.git] / SDLNet_Linked_Version.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="ja-JP">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="keywords" content="SDL_net">
7 <link rel="top" href="index.html" title="\83z\81[\83\80">
8 <link rel="parent" href="SDL_net-functions-general.html" title="1\82Â\8fã">
9 <title>SDLNet_Linked_Version</title>
10 </head>
11 <body>
12 <a href="index.html#SDL_net">\96Ú\8e\9f</a> - <a href="SDL_net-functions.html">3.\8aÖ\90\94</a> - <a href="SDL_net-functions-general.html">3.1\88ê\94Ê</a> - SDLNet_Linked_Version
13 <hr>
14 <h1>SDLNet_Linked_Version</h1>
15 <p>
16 <code>const SDL_version *SDLNet_Linked_Version()</code><br>
17 <code>void SDL_NET_VERSION(SDL_version *compile_version)</code>
18 </p>
19 <p>
20 \82±\82ê\82Í<a href="SDL_GetVersion.html">SDL_GetVersion</a>\82â<a href="SDL_VERSION.html">SDL_VERSION</a>\82Æ\93¯\82\82æ\82¤\82È\8b@\94\\82ð\8e\9d\82Â.
21 \82±\82ê\82ç\82ð\8eg\82¤\82Æ, \8eÀ\8ds\8e\9e\82Ì\83o\81[\83W\83\87\83\93\82Æ\83R\83\93\83p\83C\83\8b\8e\9e\82Ì\83o\81[\83W\83\87\83\93\82ð\94ä\8ar\82Å\82«\82é.
22 \82±\82ê\82ç\82Ì\8aÖ\90\94/\83}\83N\83\8d\82Í, \8eg\82¤\91O\82É\83\89\83C\83u\83\89\83\8a\82ð\8f\89\8aú\89»\82·\82é\95K\97v\82Í\82È\82¢.
23 </p>
24 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>
25 <code>
26 <pre>
27 SDL_version compile_version;
28 const SDL_version *link_version=SDLNet_Linked_Version();
29 SDL_NET_VERSION(&amp;compile_version);
30 printf("\83R\83\93\83p\83C\83\8b\8e\9e\82ÌSDL_net\82Ì\83o\81[\83W\83\87\83\93: %d.%d.%d\n", 
31         compile_version.major,
32         compile_version.minor,
33         compile_version.patch);
34 printf("\8eÀ\8ds\92\86\82ÌSDL_net\82Ì\83o\81[\83W\83\87\83\93: %d.%d.%d\n", 
35         link_version->major,
36         link_version->minor,
37         link_version->patch);
38 </pre>
39 </code>
40 <h2>\8eQ\8fÆ</h2>
41 <a href="SDLNet_Init.html">SDLNet_Init</a>
42 <h2>\8c´\95\82Ö\82Ì\83\8a\83\93\83N</h2>
43 <a href="http://www.libsdl.org/projects/SDL_net/docs/SDL_net_7.html#SEC7">3.1.1 SDLNet_Linked_Version</a>
44 <hr>
45 </body>
46 </html>