X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Version.html-inc;h=ca11ce3b94b8d9d2570e6981eb5fa271567b4e97;hb=a3de848879a5553418ed11fb193c4bf286ca7120;hp=8210c41e975064e899300ca2a5ee8720627c6d92;hpb=dcdd521361cbf756c0efea2d67cc8507a13beb81;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-Version.html-inc b/pages/SDL-Version.html-inc index 8210c41..ca11ce3 100644 --- a/pages/SDL-Version.html-inc +++ b/pages/SDL-Version.html-inc @@ -9,16 +9,17 @@
  • METHODS
  • +
  • AUTHORS +

  • NAME

    Top

    -

    SDL::Version -- SDL Bindings for structure SDL_Version

    +

    SDL::Version - SDL Bindings for structure SDL_Version

    CATEGORY

    Top

    @@ -32,13 +33,13 @@ use SDL::Version; # print compile-time version - printf("SDL::version is %d.%d.%d\n", SDL::version->major, + printf("SDL::version is %d.%d.%d\n", SDL::version->major, SDL::version->minor, - SDL::version->patch); + SDL::version->patch); # print linked version - printf("SDL::linked_version is %d.%d.%d\n", SDL::linked_version->major, - SDL::linked_version->minor, + printf("SDL::linked_version is %d.%d.%d\n", SDL::linked_version->major, + SDL::linked_version->minor, SDL::linked_version->patch); @@ -46,8 +47,10 @@

    DESCRIPTION

    Top

    -

    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 the SDL::version macro returns the compile-time SDL version.

    +

    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. +Note: This is the SDL version, not the SDL_Perl version. +The SDL_Perl version is in $SDL::VERSION.

    METHODS

    Top

    @@ -56,17 +59,22 @@ returns the link-time SDL version whereas the SDL::version macro re

    major

    -

    Major version number

    +

    Returns the major version number.

    minor

    -

    Minor version number

    +

    Returns the minor version number.

    patch

    -

    Patch version number

    +

    Returns the patch version number.

    + +
    +

    AUTHORS

    Top

    +
    +

    See AUTHORS in SDL.

    \ No newline at end of file