GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PODS::SDL::VERSION (3)

.ds Aq ’

NAME

SDL::Version - SDL Bindings for structure SDL_Version

CONTENTS

CATEGORY

Core, Structure

SYNOPSIS



 use SDL;
 use SDL::Version;

 # print compile-time version
 printf("SDL::version is %d.%d.%d\n", SDL::version->major,
                                      SDL::version->minor,
                                      SDL::version->patch);

 # print linked version
 printf("SDL::linked_version is %d.%d.%d\n", SDL::linked_version->major,
                                             SDL::linked_version->minor,
                                             SDL::linked_version->patch);



DESCRIPTION

The SDL::Version structure is used by the SDL::linked_version function and the SDL::version macro. The SDL::linked_version function returns the link-time SDL version whereas SDL::version returns the compile-time SDL version. <B>Note:B> This is the SDL version, not the SDL_Perl version. The SDL_Perl version is in $SDL::VERSION.

METHODS

    major

Returns the major version number.

    minor

Returns the minor version number.

    patch

Returns the patch version number.

AUTHORS

See AUTHORS in SDL.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PODS::SDL::VERSION (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.