Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

make_version(3alleg4) [debian man page]

MAKE_VERSION(3alleg4)						  Allegro manual					     MAKE_VERSION(3alleg4)

NAME
MAKE_VERSION - Create a 32 bit integer from the Allegro version SYNOPSIS
#include <allegro.h> Macro MAKE_VERSION(a, b, c) DESCRIPTION
This macro can be used to check if some Allegro version is (binary) compatible with the current version. It is safe to use > and < to check if one version is more recent than another. The third number is ignored if the second number is even, so MAKE_VERSION(4, 2, 0) is equiva- lent to MAKE_VERSION(4, 2, 1). This is because of our version numbering policy since 4.0.0: the second number is even for stable releases, which must be ABI-compatible with earlier versions of the same series. This macro is mainly useful for addon packages and libraries. See the `ABI compatibility information' section of the manual for more detailed information. Example: /* Check if the current version is compatible with Allegro 4.2.0 */ #if (MAKE_VERSION(4, 2, 0) <= MAKE_VERSION(ALLEGRO_VERSION, ALLEGRO_SUB_VERSION, ALLEGRO_WIP_VERSION)) /* Allegro 4.2.0 compatibility */ #else /* Work-around */ #endif SEE ALSO
ALLEGRO_VERSION(3alleg4), ALLEGRO_SUB_VERSION(3alleg4), ALLEGRO_WIP_VERSION(3alleg4) Allegro version 4.4.2 MAKE_VERSION(3alleg4)

Check Out this Related Man Page

exrotscl(3alleg4)						  Allegro manual						 exrotscl(3alleg4)

NAME
exrotscl - Demonstrates rotate_scaled_sprite functions. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exrotscl DESCRIPTION
This example demonstrates rotate_scaled_sprite functions. SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), allegro_init(3alleg4), allegro_mes- sage(3alleg4), clear_to_color(3alleg4), create_bitmap(3alleg4), destroy_bitmap(3alleg4), draw_trans_sprite(3alleg4), fixed(3alleg4), font(3alleg4), ftofix(3alleg4), install_keyboard(3alleg4), key(3alleg4), keypressed(3alleg4), load_bitmap(3alleg4), makeacol(3alleg4), makecol(3alleg4), readkey(3alleg4), release_screen(3alleg4), rest(3alleg4), rotate_scaled_sprite(3alleg4), rotate_scaled_sprite_lit(3alleg4), rotate_scaled_sprite_trans(3alleg4), screen(3alleg4), set_alpha_blender(3alleg4), set_color_conver- sion(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_trans_blender(3alleg4), textout_centre_ex(3alleg4) Allegro version 4.4.2 exrotscl(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. Advertise with Us

Contract Work

I posted this on another forum and got limited response, can you guys fill me in on some details? My current job is coming to an end because of a buy out, not something I've ever faced before, having an end date to your employment. I have several possibilities in the works but the one that... (4 Replies)
Discussion started by: dday
4 Replies

2. Red Hat

Which is the most stable version in RHEL 5 series.?

hi, Which is the most stable version in RHEL 5 series ? since i'm learning EL 6, it has some bug such as created partitions will be enabled after a reboot. so i like to start my learning from EL 5 series for practice. thanks in advance. (1 Reply)
Discussion started by: redhatlbug
1 Replies