The Allegro Wiki is migrating to github at https://github.com/liballeg/allegro_wiki/wiki

Allegro.py

From Allegro Wiki
Revision as of 15:11, September 12, 2009 by Elias (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: You can create this file with the python/generate_python_ctypes script distributed with Allegro.

<highlightSyntax language="python">

  1. Generated by generate_python_ctypes.py.

import os from ctypes import * from ctypes.util import *

  1. You must adjust this function to point ctypes to the A5 DLLs you are
  2. distributing.

_dlls = [] def _add_dll(name):

   release = "-debug"
   version = "-4.9.14"
   path = find_library(name + release + version)
   if not path:

if os.name == "mac": path = name + release + version + ".dylib" elif os.name == "nt": path = name + release + version + ".dll" elif os.name == "posix": path = "lib" + name + release + version + ".so" else: sys.stderr.write("Cannot find library " + name + "\n")

# In most cases, you actually don't want the above and instead # use the exact filename within your game distribution, possibly # even within a .zip file. Here we simply look inside a folder # relative to the current path... if not path: path = "dlls/" + path

   _dlls.append(CDLL(path))

_add_dll("allegro") _add_dll("allegro_audio") _add_dll("allegro_flac") _add_dll("allegro_primitives") _add_dll("allegro_color") _add_dll("allegro_font") _add_dll("allegro_ttf") _add_dll("allegro_image") _add_dll("allegro_vorbis") _add_dll("allegro_dialog") _add_dll("allegro_memfile") _add_dll("allegro_physfs")

  1. We don't have information ready which A5 function is in which DLL,
  2. so we just try them all.

def _dll(func, ret, params):

   for dll in _dlls:
       try:
           f = dll[func]
           f.restype = ret
           f.argtypes = params
           return f
       except AttributeError: pass
   sys.stderr.write("Cannot find function " + func + "\n")
   return lambda *args: None

ALLEGRO_AUDIO_DEPTH = c_int ALLEGRO_AUDIO_DRIVER_ENUM = c_int ALLEGRO_AUDIO_PROPERTY = c_int ALLEGRO_BLEND_MODE = c_int ALLEGRO_CHANNEL_CONF = c_int ALLEGRO_DISPLAY_OPTIONS = c_int ALLEGRO_EVENT_TYPE = c_uint ALLEGRO_FILE_MODE = c_int ALLEGRO_IIO_FS_LOADER_FUNCTION = c_void_p ALLEGRO_IIO_FS_SAVER_FUNCTION = c_void_p ALLEGRO_IIO_LOADER_FUNCTION = c_void_p ALLEGRO_IIO_SAVER_FUNCTION = c_void_p ALLEGRO_JOYFLAGS = c_int ALLEGRO_MIXER_QUALITY = c_int ALLEGRO_PIXEL_FORMAT = c_int ALLEGRO_PLAYMODE = c_int ALLEGRO_PRIM_ATTR = c_int ALLEGRO_PRIM_STORAGE = c_int ALLEGRO_PRIM_TYPE = c_int ALLEGRO_SEEK = c_int ALLEGRO_STATE_FLAGS = c_int ALLEGRO_SYSTEM_MOUSE_CURSOR = c_int class ALLEGRO_ANY_EVENT(Structure): pass class ALLEGRO_AUDIO_STREAM(Structure): pass class ALLEGRO_BITMAP(Structure): pass class ALLEGRO_COLOR(Structure): pass class ALLEGRO_COND(Structure): pass class ALLEGRO_CONFIG(Structure): pass class ALLEGRO_DISPLAY(Structure): pass class ALLEGRO_DISPLAY_EVENT(Structure): pass class ALLEGRO_DISPLAY_MODE(Structure): pass class ALLEGRO_EVENT_QUEUE(Structure): pass class ALLEGRO_EVENT_SOURCE(Structure): pass class ALLEGRO_FILE(Structure): pass class ALLEGRO_FILE_INTERFACE(Structure): pass class ALLEGRO_FONT(Structure): pass class ALLEGRO_FONT_VTABLE(Structure): pass class ALLEGRO_FS_ENTRY(Structure): pass class ALLEGRO_FS_INTERFACE(Structure): pass class ALLEGRO_JOYSTICK(Structure): pass class ALLEGRO_JOYSTICK_EVENT(Structure): pass class ALLEGRO_JOYSTICK_STATE(Structure): pass class ALLEGRO_KEYBOARD(Structure): pass class ALLEGRO_KEYBOARD_EVENT(Structure): pass class ALLEGRO_KEYBOARD_STATE(Structure): pass class ALLEGRO_LOCKED_REGION(Structure): pass class ALLEGRO_MIXER(Structure): pass class ALLEGRO_MONITOR_INFO(Structure): pass class ALLEGRO_MOUSE(Structure): pass class ALLEGRO_MOUSE_CURSOR(Structure): pass class ALLEGRO_MOUSE_EVENT(Structure): pass class ALLEGRO_MOUSE_STATE(Structure): pass class ALLEGRO_MUTEX(Structure): pass class ALLEGRO_NATIVE_DIALOG(Structure): pass class ALLEGRO_OGL_EXT_LIST(Structure): pass class ALLEGRO_PATH(Structure): pass class ALLEGRO_PRIM_COLOR(Structure): pass class ALLEGRO_SAMPLE(Structure): pass class ALLEGRO_SAMPLE_ID(Structure): pass class ALLEGRO_SAMPLE_INSTANCE(Structure): pass class ALLEGRO_STATE(Structure): pass class ALLEGRO_SYSTEM(Structure): pass class ALLEGRO_THREAD(Structure): pass class ALLEGRO_TIMEOUT(Structure): pass class ALLEGRO_TIMER(Structure): pass class ALLEGRO_TIMER_EVENT(Structure): pass class ALLEGRO_TRANSFORM(Structure): pass class ALLEGRO_USER_EVENT(Structure): pass class ALLEGRO_USTR(Structure): pass class ALLEGRO_USTR_INFO(Structure): pass class ALLEGRO_VERTEX(Structure): pass class ALLEGRO_VERTEX_DECL(Structure): pass class ALLEGRO_VERTEX_ELEMENT(Structure): pass class ALLEGRO_VOICE(Structure): pass ALLEGRO_ANY_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ]

ALLEGRO_COLOR._fields_ = [

   ("r", c_float),
   ("g", c_float),
   ("b", c_float),
   ("a", c_float),
   ]

ALLEGRO_DISPLAY_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("x", c_int),
   ("y", c_int),
   ("width", c_int),
   ("height", c_int),
   ]

ALLEGRO_DISPLAY_MODE._fields_ = [

   ("width", c_int),
   ("height", c_int),
   ("format", c_int),
   ("refresh_rate", c_int),
   ]

ALLEGRO_EVENT_SOURCE._fields_ = [

   ("__pad", c_void_p),
   ]

ALLEGRO_FILE._fields_ = [

   ("vtable", c_void_p),
   ]

ALLEGRO_FILE_INTERFACE._fields_ = [

   ("fi_fopen", c_void_p),
   ("fi_fclose", c_void_p),
   ("fi_fread", c_void_p),
   ("fi_fwrite", c_void_p),
   ("fi_fflush", c_void_p),
   ("fi_ftell", c_void_p),
   ("fi_fseek", c_void_p),
   ("fi_feof", c_void_p),
   ("fi_ferror", c_void_p),
   ("fi_fungetc", c_void_p),
   ("fi_fsize", c_void_p),
   ]

ALLEGRO_FONT._fields_ = [

   ("data", c_void_p),
   ("height", c_int),
   ("vtable", c_void_p),
   ]

ALLEGRO_FONT_VTABLE._fields_ = [

   ("font_height", c_void_p),
   ("char_length", c_void_p),
   ("text_length", c_void_p),
   ("render_char", c_void_p),
   ("render", c_void_p),
   ("destroy", c_void_p),
   ("get_text_dimensions", c_void_p),
   ]

ALLEGRO_FS_ENTRY._fields_ = [

   ("vtable", c_void_p),
   ]

ALLEGRO_FS_INTERFACE._fields_ = [

   ("fs_create_entry", c_void_p),
   ("fs_destroy_entry", c_void_p),
   ("fs_entry_name", c_void_p),
   ("fs_update_entry", c_void_p),
   ("fs_entry_mode", c_void_p),
   ("fs_entry_atime", c_void_p),
   ("fs_entry_mtime", c_void_p),
   ("fs_entry_ctime", c_void_p),
   ("fs_entry_size", c_void_p),
   ("fs_entry_exists", c_void_p),
   ("fs_remove_entry", c_void_p),
   ("fs_open_directory", c_void_p),
   ("fs_read_directory", c_void_p),
   ("fs_close_directory", c_void_p),
   ("fs_filename_exists", c_void_p),
   ("fs_remove_filename", c_void_p),
   ("fs_get_current_directory", c_void_p),
   ("fs_change_directory", c_void_p),
   ("fs_make_directory", c_void_p),
   ]

ALLEGRO_JOYSTICK_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("stick", c_int),
   ("axis", c_int),
   ("pos", c_float),
   ("button", c_int),
   ]

ALLEGRO_JOYSTICK_STATE._fields_ = [

   ("axis", c_void_p),
   ("button", c_void_p),
   ]

ALLEGRO_KEYBOARD_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("display", c_void_p),
   ("keycode", c_int),
   ("unichar", c_uint),
   ("modifiers", c_uint),
   ]

ALLEGRO_KEYBOARD_STATE._fields_ = [

   ("display", c_void_p),
   ("__key_down__internal__", c_void_p),
   ]

ALLEGRO_LOCKED_REGION._fields_ = [

   ("data", c_void_p),
   ("format", c_int),
   ("pitch", c_int),
   ]

ALLEGRO_MONITOR_INFO._fields_ = [

   ("x1", c_int),
   ("y1", c_int),
   ("x2", c_int),
   ("y2", c_int),
   ]

ALLEGRO_MOUSE_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("display", c_void_p),
   ("x", c_int),
   ("y", c_int),
   ("z", c_int),
   ("w", c_int),
   ("dx", c_int),
   ("dy", c_int),
   ("dz", c_int),
   ("dw", c_int),
   ("button", c_uint),
   ]

ALLEGRO_MOUSE_STATE._fields_ = [

   ("x", c_int),
   ("y", c_int),
   ("z", c_int),
   ("w", c_int),
   ("more_axes", c_void_p),
   ("buttons", c_int),
   ("display", c_void_p),
   ]

ALLEGRO_OGL_EXT_LIST._fields_ = [

   ("ALLEGRO_GL_ARB_imaging", c_int),
   ("ALLEGRO_GL_ARB_multitexture", c_int),
   ("ALLEGRO_GL_ARB_transpose_matrix", c_int),
   ("ALLEGRO_GL_ARB_multisample", c_int),
   ("ALLEGRO_GL_ARB_texture_env_add", c_int),
   ("ALLEGRO_GL_ARB_texture_cube_map", c_int),
   ("ALLEGRO_GL_ARB_texture_compression", c_int),
   ("ALLEGRO_GL_ARB_texture_border_clamp", c_int),
   ("ALLEGRO_GL_ARB_point_parameters", c_int),
   ("ALLEGRO_GL_ARB_vertex_blend", c_int),
   ("ALLEGRO_GL_ARB_texture_env_combine", c_int),
   ("ALLEGRO_GL_ARB_texture_env_crossbar", c_int),
   ("ALLEGRO_GL_ARB_texture_env_dot3", c_int),
   ("ALLEGRO_GL_ARB_texture_mirrored_repeat", c_int),
   ("ALLEGRO_GL_ARB_depth_texture", c_int),
   ("ALLEGRO_GL_ARB_shadow", c_int),
   ("ALLEGRO_GL_ARB_shadow_ambient", c_int),
   ("ALLEGRO_GL_ARB_window_pos", c_int),
   ("ALLEGRO_GL_ARB_vertex_program", c_int),
   ("ALLEGRO_GL_ARB_fragment_program", c_int),
   ("ALLEGRO_GL_ARB_vertex_buffer_object", c_int),
   ("ALLEGRO_GL_ARB_occlusion_query", c_int),
   ("ALLEGRO_GL_ARB_shader_objects", c_int),
   ("ALLEGRO_GL_ARB_vertex_shader", c_int),
   ("ALLEGRO_GL_ARB_fragment_shader", c_int),
   ("ALLEGRO_GL_ARB_shading_language_100", c_int),
   ("ALLEGRO_GL_ARB_texture_non_power_of_two", c_int),
   ("ALLEGRO_GL_ARB_point_sprite", c_int),
   ("ALLEGRO_GL_ARB_fragment_program_shadow", c_int),
   ("ALLEGRO_GL_ARB_draw_buffers", c_int),
   ("ALLEGRO_GL_ARB_texture_rectangle", c_int),
   ("ALLEGRO_GL_ARB_color_buffer_float", c_int),
   ("ALLEGRO_GL_ARB_half_float_pixel", c_int),
   ("ALLEGRO_GL_ARB_texture_float", c_int),
   ("ALLEGRO_GL_ARB_pixel_buffer_object", c_int),
   ("ALLEGRO_GL_ARB_instanced_arrays", c_int),
   ("ALLEGRO_GL_ARB_draw_instanced", c_int),
   ("ALLEGRO_GL_ARB_geometry_shader4", c_int),
   ("ALLEGRO_GL_ARB_texture_buffer_object", c_int),
   ("ALLEGRO_GL_ARB_depth_buffer_float", c_int),
   ("ALLEGRO_GL_ARB_framebuffer_object", c_int),
   ("ALLEGRO_GL_ARB_framebuffer_sRGB", c_int),
   ("ALLEGRO_GL_ARB_half_float_vertex", c_int),
   ("ALLEGRO_GL_ARB_map_buffer_range", c_int),
   ("ALLEGRO_GL_ARB_texture_compression_rgtc", c_int),
   ("ALLEGRO_GL_ARB_texture_rg", c_int),
   ("ALLEGRO_GL_ARB_vertex_array_object", c_int),
   ("ALLEGRO_GL_ARB_copy_buffer", c_int),
   ("ALLEGRO_GL_ARB_compatibility", c_int),
   ("ALLEGRO_GL_ARB_uniform_buffer_object", c_int),
   ("ALLEGRO_GL_EXT_abgr", c_int),
   ("ALLEGRO_GL_EXT_blend_color", c_int),
   ("ALLEGRO_GL_EXT_polygon_offset", c_int),
   ("ALLEGRO_GL_EXT_texture", c_int),
   ("ALLEGRO_GL_EXT_texture3D", c_int),
   ("ALLEGRO_GL_SGIS_texture_filter4", c_int),
   ("ALLEGRO_GL_EXT_subtexture", c_int),
   ("ALLEGRO_GL_EXT_copy_texture", c_int),
   ("ALLEGRO_GL_EXT_histogram", c_int),
   ("ALLEGRO_GL_EXT_convolution", c_int),
   ("ALLEGRO_GL_SGI_color_matrix", c_int),
   ("ALLEGRO_GL_SGI_color_table", c_int),
   ("ALLEGRO_GL_SGIS_pixel_texture", c_int),
   ("ALLEGRO_GL_SGIX_pixel_texture", c_int),
   ("ALLEGRO_GL_SGIS_texture4D", c_int),
   ("ALLEGRO_GL_SGI_texture_color_table", c_int),
   ("ALLEGRO_GL_EXT_cmyka", c_int),
   ("ALLEGRO_GL_EXT_texture_object", c_int),
   ("ALLEGRO_GL_SGIS_detail_texture", c_int),
   ("ALLEGRO_GL_SGIS_sharpen_texture", c_int),
   ("ALLEGRO_GL_EXT_packed_pixels", c_int),
   ("ALLEGRO_GL_SGIS_texture_lod", c_int),
   ("ALLEGRO_GL_SGIS_multisample", c_int),
   ("ALLEGRO_GL_EXT_rescale_normal", c_int),
   ("ALLEGRO_GL_EXT_vertex_array", c_int),
   ("ALLEGRO_GL_EXT_misc_attribute", c_int),
   ("ALLEGRO_GL_SGIS_generate_mipmap", c_int),
   ("ALLEGRO_GL_SGIX_clipmap", c_int),
   ("ALLEGRO_GL_SGIX_shadow", c_int),
   ("ALLEGRO_GL_SGIS_texture_edge_clamp", c_int),
   ("ALLEGRO_GL_SGIS_texture_border_clamp", c_int),
   ("ALLEGRO_GL_EXT_blend_minmax", c_int),
   ("ALLEGRO_GL_EXT_blend_subtract", c_int),
   ("ALLEGRO_GL_EXT_blend_logic_op", c_int),
   ("ALLEGRO_GL_SGIX_interlace", c_int),
   ("ALLEGRO_GL_SGIS_texture_select", c_int),
   ("ALLEGRO_GL_SGIX_sprite", c_int),
   ("ALLEGRO_GL_SGIX_texture_multi_buffer", c_int),
   ("ALLEGRO_GL_EXT_point_parameters", c_int),
   ("ALLEGRO_GL_SGIX_instruments", c_int),
   ("ALLEGRO_GL_SGIX_texture_scale_bias", c_int),
   ("ALLEGRO_GL_SGIX_framezoom", c_int),
   ("ALLEGRO_GL_SGIX_tag_sample_buffer", c_int),
   ("ALLEGRO_GL_SGIX_reference_plane", c_int),
   ("ALLEGRO_GL_SGIX_flush_raster", c_int),
   ("ALLEGRO_GL_SGIX_depth_texture", c_int),
   ("ALLEGRO_GL_SGIS_fog_function", c_int),
   ("ALLEGRO_GL_SGIX_fog_offset", c_int),
   ("ALLEGRO_GL_HP_image_transform", c_int),
   ("ALLEGRO_GL_HP_convolution_border_modes", c_int),
   ("ALLEGRO_GL_SGIX_texture_add_env", c_int),
   ("ALLEGRO_GL_EXT_color_subtable", c_int),
   ("ALLEGRO_GL_PGI_vertex_hints", c_int),
   ("ALLEGRO_GL_PGI_misc_hints", c_int),
   ("ALLEGRO_GL_EXT_paletted_texture", c_int),
   ("ALLEGRO_GL_EXT_clip_volume_hint", c_int),
   ("ALLEGRO_GL_SGIX_list_priority", c_int),
   ("ALLEGRO_GL_SGIX_ir_instrument1", c_int),
   ("ALLEGRO_GL_SGIX_texture_lod_bias", c_int),
   ("ALLEGRO_GL_SGIX_shadow_ambient", c_int),
   ("ALLEGRO_GL_EXT_index_texture", c_int),
   ("ALLEGRO_GL_EXT_index_material", c_int),
   ("ALLEGRO_GL_EXT_index_func", c_int),
   ("ALLEGRO_GL_EXT_index_array_formats", c_int),
   ("ALLEGRO_GL_EXT_compiled_vertex_array", c_int),
   ("ALLEGRO_GL_EXT_cull_vertex", c_int),
   ("ALLEGRO_GL_SGIX_ycrcb", c_int),
   ("ALLEGRO_GL_EXT_fragment_lighting", c_int),
   ("ALLEGRO_GL_IBM_rasterpos_clip", c_int),
   ("ALLEGRO_GL_HP_texture_lighting", c_int),
   ("ALLEGRO_GL_EXT_draw_range_elements", c_int),
   ("ALLEGRO_GL_WIN_phong_shading", c_int),
   ("ALLEGRO_GL_WIN_specular_fog", c_int),
   ("ALLEGRO_GL_EXT_light_texture", c_int),
   ("ALLEGRO_GL_SGIX_blend_alpha_minmax", c_int),
   ("ALLEGRO_GL_EXT_scene_marker", c_int),
   ("ALLEGRO_GL_SGIX_pixel_texture_bits", c_int),
   ("ALLEGRO_GL_EXT_bgra", c_int),
   ("ALLEGRO_GL_SGIX_async", c_int),
   ("ALLEGRO_GL_SGIX_async_pixel", c_int),
   ("ALLEGRO_GL_SGIX_async_histogram", c_int),
   ("ALLEGRO_GL_INTEL_texture_scissor", c_int),
   ("ALLEGRO_GL_INTEL_parallel_arrays", c_int),
   ("ALLEGRO_GL_HP_occlusion_test", c_int),
   ("ALLEGRO_GL_EXT_pixel_transform", c_int),
   ("ALLEGRO_GL_EXT_pixel_transform_color_table", c_int),
   ("ALLEGRO_GL_EXT_shared_texture_palette", c_int),
   ("ALLEGRO_GL_EXT_separate_specular_color", c_int),
   ("ALLEGRO_GL_EXT_secondary_color", c_int),
   ("ALLEGRO_GL_EXT_texture_env", c_int),
   ("ALLEGRO_GL_EXT_texture_perturb_normal", c_int),
   ("ALLEGRO_GL_EXT_multi_draw_arrays", c_int),
   ("ALLEGRO_GL_EXT_fog_coord", c_int),
   ("ALLEGRO_GL_REND_screen_coordinates", c_int),
   ("ALLEGRO_GL_EXT_coordinate_frame", c_int),
   ("ALLEGRO_GL_EXT_texture_env_combine", c_int),
   ("ALLEGRO_GL_APPLE_specular_vector", c_int),
   ("ALLEGRO_GL_APPLE_transform_hint", c_int),
   ("ALLEGRO_GL_SUNX_constant_data", c_int),
   ("ALLEGRO_GL_SUN_global_alpha", c_int),
   ("ALLEGRO_GL_SUN_triangle_list", c_int),
   ("ALLEGRO_GL_SUN_vertex", c_int),
   ("ALLEGRO_GL_EXT_blend_func_separate", c_int),
   ("ALLEGRO_GL_INGR_color_clamp", c_int),
   ("ALLEGRO_GL_INGR_interlace_read", c_int),
   ("ALLEGRO_GL_EXT_stencil_wrap", c_int),
   ("ALLEGRO_GL_EXT_422_pixels", c_int),
   ("ALLEGRO_GL_NV_texgen_reflection", c_int),
   ("ALLEGRO_GL_SGIX_texture_range", c_int),
   ("ALLEGRO_GL_SUN_convolution_border_modes", c_int),
   ("ALLEGRO_GL_EXT_texture_env_add", c_int),
   ("ALLEGRO_GL_EXT_texture_lod_bias", c_int),
   ("ALLEGRO_GL_EXT_texture_filter_anisotropic", c_int),
   ("ALLEGRO_GL_EXT_vertex_weighting", c_int),
   ("ALLEGRO_GL_NV_light_max_exponent", c_int),
   ("ALLEGRO_GL_NV_vertex_array_range", c_int),
   ("ALLEGRO_GL_NV_register_combiners", c_int),
   ("ALLEGRO_GL_NV_fog_distance", c_int),
   ("ALLEGRO_GL_NV_texgen_emboss", c_int),
   ("ALLEGRO_GL_NV_blend_square", c_int),
   ("ALLEGRO_GL_NV_texture_env_combine4", c_int),
   ("ALLEGRO_GL_MESA_resize_buffers", c_int),
   ("ALLEGRO_GL_MESA_window_pos", c_int),
   ("ALLEGRO_GL_EXT_texture_compression_s3tc", c_int),
   ("ALLEGRO_GL_IBM_cull_vertex", c_int),
   ("ALLEGRO_GL_IBM_multimode_draw_arrays", c_int),
   ("ALLEGRO_GL_IBM_vertex_array_lists", c_int),
   ("ALLEGRO_GL_3DFX_texture_compression_FXT1", c_int),
   ("ALLEGRO_GL_3DFX_multisample", c_int),
   ("ALLEGRO_GL_3DFX_tbuffer", c_int),
   ("ALLEGRO_GL_SGIX_vertex_preclip", c_int),
   ("ALLEGRO_GL_SGIX_resample", c_int),
   ("ALLEGRO_GL_SGIS_texture_color_mask", c_int),
   ("ALLEGRO_GL_EXT_texture_env_dot3", c_int),
   ("ALLEGRO_GL_ATI_texture_mirror_once", c_int),
   ("ALLEGRO_GL_NV_fence", c_int),
   ("ALLEGRO_GL_IBM_static_data", c_int),
   ("ALLEGRO_GL_IBM_texture_mirrored_repeat", c_int),
   ("ALLEGRO_GL_NV_evaluators", c_int),
   ("ALLEGRO_GL_NV_packed_depth_stencil", c_int),
   ("ALLEGRO_GL_NV_register_combiners2", c_int),
   ("ALLEGRO_GL_NV_texture_compression_vtc", c_int),
   ("ALLEGRO_GL_NV_texture_rectangle", c_int),
   ("ALLEGRO_GL_NV_texture_shader", c_int),
   ("ALLEGRO_GL_NV_texture_shader2", c_int),
   ("ALLEGRO_GL_NV_vertex_array_range2", c_int),
   ("ALLEGRO_GL_NV_vertex_program", c_int),
   ("ALLEGRO_GL_SGIX_texture_coordinate_clamp", c_int),
   ("ALLEGRO_GL_OML_interlace", c_int),
   ("ALLEGRO_GL_OML_subsample", c_int),
   ("ALLEGRO_GL_OML_resample", c_int),
   ("ALLEGRO_GL_NV_copy_depth_to_color", c_int),
   ("ALLEGRO_GL_ATI_envmap_bumpmap", c_int),
   ("ALLEGRO_GL_ATI_fragment_shader", c_int),
   ("ALLEGRO_GL_ATI_pn_triangles", c_int),
   ("ALLEGRO_GL_ATI_vertex_array_object", c_int),
   ("ALLEGRO_GL_EXT_vertex_shader", c_int),
   ("ALLEGRO_GL_ATI_vertex_streams", c_int),
   ("ALLEGRO_GL_ATI_element_array", c_int),
   ("ALLEGRO_GL_SUN_mesh_array", c_int),
   ("ALLEGRO_GL_SUN_slice_accum", c_int),
   ("ALLEGRO_GL_NV_multisample_filter_hint", c_int),
   ("ALLEGRO_GL_NV_depth_clamp", c_int),
   ("ALLEGRO_GL_NV_occlusion_query", c_int),
   ("ALLEGRO_GL_NV_point_sprite", c_int),
   ("ALLEGRO_GL_NV_texture_shader3", c_int),
   ("ALLEGRO_GL_NV_vertex_program1_1", c_int),
   ("ALLEGRO_GL_EXT_shadow_funcs", c_int),
   ("ALLEGRO_GL_EXT_stencil_two_side", c_int),
   ("ALLEGRO_GL_ATI_text_fragment_shader", c_int),
   ("ALLEGRO_GL_APPLE_client_storage", c_int),
   ("ALLEGRO_GL_APPLE_element_array", c_int),
   ("ALLEGRO_GL_APPLE_fence", c_int),
   ("ALLEGRO_GL_APPLE_vertex_array_object", c_int),
   ("ALLEGRO_GL_APPLE_vertex_array_range", c_int),
   ("ALLEGRO_GL_APPLE_ycbcr_422", c_int),
   ("ALLEGRO_GL_S3_s3tc", c_int),
   ("ALLEGRO_GL_ATI_draw_buffers", c_int),
   ("ALLEGRO_GL_ATI_texture_env_combine3", c_int),
   ("ALLEGRO_GL_ATI_texture_float", c_int),
   ("ALLEGRO_GL_NV_float_buffer", c_int),
   ("ALLEGRO_GL_NV_fragment_program", c_int),
   ("ALLEGRO_GL_NV_half_float", c_int),
   ("ALLEGRO_GL_NV_pixel_data_range", c_int),
   ("ALLEGRO_GL_NV_primitive_restart", c_int),
   ("ALLEGRO_GL_NV_texture_expand_normal", c_int),
   ("ALLEGRO_GL_NV_vertex_program2", c_int),
   ("ALLEGRO_GL_ATI_map_object_buffer", c_int),
   ("ALLEGRO_GL_ATI_separate_stencil", c_int),
   ("ALLEGRO_GL_ATI_vertex_attrib_array_object", c_int),
   ("ALLEGRO_GL_OES_byte_coordinates", c_int),
   ("ALLEGRO_GL_OES_fixed_point", c_int),
   ("ALLEGRO_GL_OES_single_precision", c_int),
   ("ALLEGRO_GL_OES_compressed_paletted_texture", c_int),
   ("ALLEGRO_GL_OES_read_format", c_int),
   ("ALLEGRO_GL_OES_query_matrix", c_int),
   ("ALLEGRO_GL_OES_framebuffer_object", c_int),
   ("ALLEGRO_GL_EXT_depth_bounds_test", c_int),
   ("ALLEGRO_GL_EXT_texture_mirror_clamp", c_int),
   ("ALLEGRO_GL_EXT_blend_equation_separate", c_int),
   ("ALLEGRO_GL_MESA_pack_invert", c_int),
   ("ALLEGRO_GL_MESA_ycbcr_texture", c_int),
   ("ALLEGRO_GL_EXT_pixel_buffer_object", c_int),
   ("ALLEGRO_GL_NV_fragment_program_option", c_int),
   ("ALLEGRO_GL_NV_fragment_program2", c_int),
   ("ALLEGRO_GL_NV_vertex_program2_option", c_int),
   ("ALLEGRO_GL_NV_vertex_program3", c_int),
   ("ALLEGRO_GL_EXT_texture_compression_dxt1", c_int),
   ("ALLEGRO_GL_EXT_framebuffer_object", c_int),
   ("ALLEGRO_GL_GREMEDY_string_marker", c_int),
   ("ALLEGRO_GL_EXT_packed_depth_stencil", c_int),
   ("ALLEGRO_GL_EXT_stencil_clear_tag", c_int),
   ("ALLEGRO_GL_EXT_texture_sRGB", c_int),
   ("ALLEGRO_GL_EXT_framebuffer_blit", c_int),
   ("ALLEGRO_GL_EXT_framebuffer_multisample", c_int),
   ("ALLEGRO_GL_MESAX_texture_stack", c_int),
   ("ALLEGRO_GL_EXT_timer_query", c_int),
   ("ALLEGRO_GL_EXT_gpu_program_parameters", c_int),
   ("ALLEGRO_GL_APPLE_flush_buffer_range", c_int),
   ("ALLEGRO_GL_EXT_bindable_uniform", c_int),
   ("ALLEGRO_GL_EXT_draw_buffers2", c_int),
   ("ALLEGRO_GL_EXT_draw_instanced", c_int),
   ("ALLEGRO_GL_EXT_framebuffer_sRGB", c_int),
   ("ALLEGRO_GL_EXT_geometry_shader4", c_int),
   ("ALLEGRO_GL_EXT_gpu_shader4", c_int),
   ("ALLEGRO_GL_EXT_packed_float", c_int),
   ("ALLEGRO_GL_EXT_texture_array", c_int),
   ("ALLEGRO_GL_EXT_texture_buffer_object", c_int),
   ("ALLEGRO_GL_EXT_texture_compression_latc", c_int),
   ("ALLEGRO_GL_EXT_texture_compression_rgtc", c_int),
   ("ALLEGRO_GL_EXT_texture_integer", c_int),
   ("ALLEGRO_GL_EXT_texture_shared_exponent", c_int),
   ("ALLEGRO_GL_NV_depth_buffer_float", c_int),
   ("ALLEGRO_GL_NV_fragment_program4", c_int),
   ("ALLEGRO_GL_NV_framebuffer_multisample_coverage", c_int),
   ("ALLEGRO_GL_NV_geometry_program4", c_int),
   ("ALLEGRO_GL_NV_gpu_program4", c_int),
   ("ALLEGRO_GL_NV_parameter_buffer_object", c_int),
   ("ALLEGRO_GL_NV_transform_feedback", c_int),
   ("ALLEGRO_GL_NV_vertex_program4", c_int),
   ("ALLEGRO_GL_GREMEDY_frame_terminator", c_int),
   ("ALLEGRO_GL_NV_conditional_render", c_int),
   ("ALLEGRO_GL_NV_present_video", c_int),
   ("ALLEGRO_GL_EXT_direct_state_access", c_int),
   ("ALLEGRO_GL_EXT_transform_feedback", c_int),
   ("ALLEGRO_GL_EXT_texture_swizzle", c_int),
   ("ALLEGRO_GL_NV_explicit_multisample", c_int),
   ("ALLEGRO_GL_NV_transform_feedback2", c_int),
   ("ALLEGRO_GL_ATI_meminfo", c_int),
   ("ALLEGRO_GL_AMD_performance_monitor", c_int),
   ("ALLEGRO_GL_AMD_texture_texture4", c_int),
   ("ALLEGRO_GL_AMD_vertex_shader_tesselator", c_int),
   ("ALLEGRO_GL_EXT_provoking_vertex", c_int),
   ("ALLEGRO_GLX_ARB_get_proc_address", c_int),
   ("ALLEGRO_GLX_ARB_multisample", c_int),
   ("ALLEGRO_GLX_ARB_fbconfig_float", c_int),
   ("ALLEGRO_GLX_EXT_visual_info", c_int),
   ("ALLEGRO_GLX_SGI_swap_control", c_int),
   ("ALLEGRO_GLX_SGI_video_sync", c_int),
   ("ALLEGRO_GLX_SGI_make_current_read", c_int),
   ("ALLEGRO_GLX_SGIX_video_source", c_int),
   ("ALLEGRO_GLX_EXT_visual_rating", c_int),
   ("ALLEGRO_GLX_EXT_import_context", c_int),
   ("ALLEGRO_GLX_SGIX_fbconfig", c_int),
   ("ALLEGRO_GLX_SGIX_pbuffer", c_int),
   ("ALLEGRO_GLX_SGI_cushion", c_int),
   ("ALLEGRO_GLX_SGIX_video_resize", c_int),
   ("ALLEGRO_GLX_SGIX_dm_buffer", c_int),
   ("ALLEGRO_GLX_SGIX_swap_group", c_int),
   ("ALLEGRO_GLX_SGIX_swap_barrier", c_int),
   ("ALLEGRO_GLX_SGIS_color_range", c_int),
   ("ALLEGRO_GLX_SGIS_blended_overlay", c_int),
   ("ALLEGRO_GLX_SUN_get_transparent_index", c_int),
   ("ALLEGRO_GLX_MESA_copy_sub_buffer", c_int),
   ("ALLEGRO_GLX_MESA_pixmap_colormap", c_int),
   ("ALLEGRO_GLX_MESA_release_buffers", c_int),
   ("ALLEGRO_GLX_MESA_set_3dfx_mode", c_int),
   ("ALLEGRO_GLX_SGIX_visual_select_group", c_int),
   ("ALLEGRO_GLX_OML_swap_method", c_int),
   ("ALLEGRO_GLX_OML_sync_control", c_int),
   ("ALLEGRO_GLX_SGIX_hyperpipe", c_int),
   ("ALLEGRO_GLX_MESA_agp_offset", c_int),
   ("ALLEGRO_GLX_EXT_framebuffer_sRGB", c_int),
   ("ALLEGRO_GLX_EXT_packed_float", c_int),
   ("ALLEGRO_GLX_EXT_texture_from_pixmap", c_int),
   ("ALLEGRO_GLX_NV_video_out", c_int),
   ("ALLEGRO_GLX_NV_swap_group", c_int),
   ("ALLEGRO_GLX_ARB_create_context", c_int),
   ]

ALLEGRO_PRIM_COLOR._fields_ = [

   ("d3d_color", c_uint),
   ("r", c_float),
   ("g", c_float),
   ("b", c_float),
   ("a", c_float),
   ]

ALLEGRO_SAMPLE_ID._fields_ = [

   ("_index", c_int),
   ("_id", c_int),
   ]

ALLEGRO_STATE._fields_ = [

   ("_tls", c_void_p),
   ("flags", c_int),
   ]

ALLEGRO_TIMEOUT._fields_ = [

   ("__pad1__", c_ulong),
   ("__pad2__", c_ulong),
   ]

ALLEGRO_TIMER_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("count", c_long),
   ("error", c_double),
   ]

ALLEGRO_TRANSFORM._fields_ = [

   ("m", c_void_p),
   ]

ALLEGRO_USER_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("__internal__descr", c_void_p),
   ("data1", c_void_p),
   ("data2", c_void_p),
   ("data3", c_void_p),
   ("data4", c_void_p),
   ]

ALLEGRO_USTR_INFO._fields_ = [

   ("__pad", c_void_p),
   ]

ALLEGRO_VERTEX._fields_ = [

   ("x", c_float),
   ("y", c_float),
   ("color", ALLEGRO_PRIM_COLOR),
   ("u", c_float),
   ("v", c_float),
   ]

ALLEGRO_VERTEX_ELEMENT._fields_ = [

   ("attribute", c_int),
   ("storage", c_int),
   ("offset", c_int),
   ]

class ALLEGRO_EVENT(Union): pass ALLEGRO_EVENT._fields_ = [

   ("type", c_uint),
   ("any", ALLEGRO_ANY_EVENT),
   ("display", ALLEGRO_DISPLAY_EVENT),
   ("joystick", ALLEGRO_JOYSTICK_EVENT),
   ("keyboard", ALLEGRO_KEYBOARD_EVENT),
   ("mouse", ALLEGRO_MOUSE_EVENT),
   ("timer", ALLEGRO_TIMER_EVENT),
   ("user", ALLEGRO_USER_EVENT),
   ]

_al_get_blend_color = _dll("_al_get_blend_color", c_void_p, []) _al_put_pixel = _dll("_al_put_pixel", c_int, [c_void_p, c_int, c_int, ALLEGRO_COLOR]) _al_trace_prefix = _dll("_al_trace_prefix", c_bool, [c_void_p, c_int, c_void_p, c_int, c_void_p]) _alemu_stricmp = _dll("_alemu_stricmp", c_int, [c_void_p, c_void_p]) _alemu_strlwr = _dll("_alemu_strlwr", c_void_p, [c_void_p]) _alemu_strupr = _dll("_alemu_strupr", c_void_p, [c_void_p]) al_acknowledge_resize = _dll("al_acknowledge_resize", c_bool, [c_void_p]) al_add_config_comment = _dll("al_add_config_comment", c_int, [c_void_p, c_void_p, c_void_p]) al_add_config_section = _dll("al_add_config_section", c_int, [c_void_p, c_void_p]) al_append_path_component = _dll("al_append_path_component", c_int, [c_void_p, c_void_p]) al_assert = _dll("al_assert", c_int, [c_void_p, c_int]) al_attach_audio_stream_to_mixer = _dll("al_attach_audio_stream_to_mixer", c_bool, [c_void_p, c_void_p]) al_attach_audio_stream_to_voice = _dll("al_attach_audio_stream_to_voice", c_bool, [c_void_p, c_void_p]) al_attach_mixer_to_mixer = _dll("al_attach_mixer_to_mixer", c_bool, [c_void_p, c_void_p]) al_attach_mixer_to_voice = _dll("al_attach_mixer_to_voice", c_bool, [c_void_p, c_void_p]) al_attach_sample_to_mixer = _dll("al_attach_sample_to_mixer", c_bool, [c_void_p, c_void_p]) al_attach_sample_to_voice = _dll("al_attach_sample_to_voice", c_bool, [c_void_p, c_void_p]) al_broadcast_cond = _dll("al_broadcast_cond", c_int, [c_void_p]) al_build_transform = _dll("al_build_transform", c_int, [c_void_p, c_float, c_float, c_float, c_float, c_float]) al_calculate_arc = _dll("al_calculate_arc", c_int, [c_void_p, c_int, c_float, c_float, c_float, c_float, c_float, c_float, c_float, c_int]) al_calculate_ribbon = _dll("al_calculate_ribbon", c_int, [c_void_p, c_int, c_void_p, c_int, c_float, c_int]) al_calculate_spline = _dll("al_calculate_spline", c_int, [c_void_p, c_int, c_void_p, c_float, c_int]) al_change_directory = _dll("al_change_directory", c_bool, [c_void_p]) al_check_inverse = _dll("al_check_inverse", c_int, [c_void_p, c_float]) al_clear_to_color = _dll("al_clear_to_color", c_int, [ALLEGRO_COLOR]) al_clone_bitmap = _dll("al_clone_bitmap", c_void_p, [c_void_p]) al_clone_path = _dll("al_clone_path", c_void_p, [c_void_p]) al_close_directory = _dll("al_close_directory", c_bool, [c_void_p]) al_color_cmyk = _dll("al_color_cmyk", ALLEGRO_COLOR, [c_float, c_float, c_float, c_float]) al_color_cmyk_to_rgb = _dll("al_color_cmyk_to_rgb", c_int, [c_float, c_float, c_float, c_float, c_void_p, c_void_p, c_void_p]) al_color_hsl = _dll("al_color_hsl", ALLEGRO_COLOR, [c_float, c_float, c_float]) al_color_hsl_to_rgb = _dll("al_color_hsl_to_rgb", c_int, [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p]) al_color_hsv = _dll("al_color_hsv", ALLEGRO_COLOR, [c_float, c_float, c_float]) al_color_hsv_to_rgb = _dll("al_color_hsv_to_rgb", c_int, [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p]) al_color_html = _dll("al_color_html", ALLEGRO_COLOR, [c_void_p]) al_color_html_to_rgb = _dll("al_color_html_to_rgb", c_int, [c_void_p, c_void_p, c_void_p, c_void_p]) al_color_name = _dll("al_color_name", ALLEGRO_COLOR, [c_void_p]) al_color_name_to_rgb = _dll("al_color_name_to_rgb", c_int, [c_void_p, c_void_p, c_void_p, c_void_p]) al_color_rgb_to_cmyk = _dll("al_color_rgb_to_cmyk", c_int, [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p, c_void_p]) al_color_rgb_to_hsl = _dll("al_color_rgb_to_hsl", c_int, [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p]) al_color_rgb_to_hsv = _dll("al_color_rgb_to_hsv", c_int, [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p]) al_color_rgb_to_html = _dll("al_color_rgb_to_html", c_int, [c_float, c_float, c_float, c_void_p]) al_color_rgb_to_name = _dll("al_color_rgb_to_name", c_void_p, [c_float, c_float, c_float]) al_color_rgb_to_yuv = _dll("al_color_rgb_to_yuv", c_int, [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p]) al_color_yuv = _dll("al_color_yuv", ALLEGRO_COLOR, [c_float, c_float, c_float]) al_color_yuv_to_rgb = _dll("al_color_yuv_to_rgb", c_int, [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p]) al_convert_mask_to_alpha = _dll("al_convert_mask_to_alpha", c_int, [c_void_p, ALLEGRO_COLOR]) al_copy_transform = _dll("al_copy_transform", c_int, [c_void_p, c_void_p]) al_create_audio_stream = _dll("al_create_audio_stream", c_void_p, [c_ulong, c_ulong, c_ulong, c_int, c_int]) al_create_bitmap = _dll("al_create_bitmap", c_void_p, [c_int, c_int]) al_create_cond = _dll("al_create_cond", c_void_p, []) al_create_config = _dll("al_create_config", c_void_p, []) al_create_display = _dll("al_create_display", c_void_p, [c_int, c_int]) al_create_event_queue = _dll("al_create_event_queue", c_void_p, []) al_create_fs_entry = _dll("al_create_fs_entry", c_void_p, [c_void_p]) al_create_mixer = _dll("al_create_mixer", c_void_p, [c_ulong, c_int, c_int]) al_create_mouse_cursor = _dll("al_create_mouse_cursor", c_void_p, [c_void_p, c_int, c_int]) al_create_mutex = _dll("al_create_mutex", c_void_p, []) al_create_mutex_recursive = _dll("al_create_mutex_recursive", c_void_p, []) al_create_native_file_dialog = _dll("al_create_native_file_dialog", c_void_p, [c_void_p, c_void_p, c_void_p, c_int]) al_create_path = _dll("al_create_path", c_void_p, [c_void_p]) al_create_path_for_directory = _dll("al_create_path_for_directory", c_void_p, [c_void_p]) al_create_sample = _dll("al_create_sample", c_void_p, [c_void_p, c_ulong, c_ulong, c_int, c_int, c_bool]) al_create_sample_instance = _dll("al_create_sample_instance", c_void_p, [c_void_p]) al_create_sub_bitmap = _dll("al_create_sub_bitmap", c_void_p, [c_void_p, c_int, c_int, c_int, c_int]) al_create_thread = _dll("al_create_thread", c_void_p, [c_void_p, c_void_p]) al_create_vertex_decl = _dll("al_create_vertex_decl", c_void_p, [c_void_p, c_int]) al_create_voice = _dll("al_create_voice", c_void_p, [c_ulong, c_int, c_int]) al_cstr = _dll("al_cstr", c_void_p, [c_void_p]) al_cstr_dup = _dll("al_cstr_dup", c_void_p, [c_void_p]) al_current_time = _dll("al_current_time", c_double, []) al_destroy_audio_stream = _dll("al_destroy_audio_stream", c_int, [c_void_p]) al_destroy_bitmap = _dll("al_destroy_bitmap", c_int, [c_void_p]) al_destroy_cond = _dll("al_destroy_cond", c_int, [c_void_p]) al_destroy_config = _dll("al_destroy_config", c_int, [c_void_p]) al_destroy_display = _dll("al_destroy_display", c_int, [c_void_p]) al_destroy_event_queue = _dll("al_destroy_event_queue", c_int, [c_void_p]) al_destroy_font = _dll("al_destroy_font", c_int, [c_void_p]) al_destroy_fs_entry = _dll("al_destroy_fs_entry", c_int, [c_void_p]) al_destroy_mixer = _dll("al_destroy_mixer", c_int, [c_void_p]) al_destroy_mouse_cursor = _dll("al_destroy_mouse_cursor", c_int, [c_void_p]) al_destroy_mutex = _dll("al_destroy_mutex", c_int, [c_void_p]) al_destroy_native_dialog = _dll("al_destroy_native_dialog", c_int, [c_void_p]) al_destroy_sample = _dll("al_destroy_sample", c_int, [c_void_p]) al_destroy_sample_instance = _dll("al_destroy_sample_instance", c_int, [c_void_p]) al_destroy_thread = _dll("al_destroy_thread", c_int, [c_void_p]) al_destroy_user_event_source = _dll("al_destroy_user_event_source", c_int, [c_void_p]) al_destroy_vertex_decl = _dll("al_destroy_vertex_decl", c_int, [c_void_p]) al_destroy_voice = _dll("al_destroy_voice", c_int, [c_void_p]) al_detach_audio_stream = _dll("al_detach_audio_stream", c_bool, [c_void_p]) al_detach_mixer = _dll("al_detach_mixer", c_bool, [c_void_p]) al_detach_sample_instance = _dll("al_detach_sample_instance", c_bool, [c_void_p]) al_detach_voice = _dll("al_detach_voice", c_int, [c_void_p]) al_drain_audio_stream = _dll("al_drain_audio_stream", c_int, [c_void_p]) al_draw_arc = _dll("al_draw_arc", c_int, [c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float]) al_draw_bitmap = _dll("al_draw_bitmap", c_int, [c_void_p, c_float, c_float, c_int]) al_draw_bitmap_region = _dll("al_draw_bitmap_region", c_int, [c_void_p, c_float, c_float, c_float, c_float, c_float, c_float, c_int]) al_draw_circle = _dll("al_draw_circle", c_int, [c_float, c_float, c_float, ALLEGRO_COLOR, c_float]) al_draw_ellipse = _dll("al_draw_ellipse", c_int, [c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float]) al_draw_filled_circle = _dll("al_draw_filled_circle", c_int, [c_float, c_float, c_float, ALLEGRO_COLOR]) al_draw_filled_ellipse = _dll("al_draw_filled_ellipse", c_int, [c_float, c_float, c_float, c_float, ALLEGRO_COLOR]) al_draw_filled_rectangle = _dll("al_draw_filled_rectangle", c_int, [c_float, c_float, c_float, c_float, ALLEGRO_COLOR]) al_draw_filled_rounded_rectangle = _dll("al_draw_filled_rounded_rectangle", c_int, [c_float, c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR]) al_draw_filled_triangle = _dll("al_draw_filled_triangle", c_int, [c_float, c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR]) al_draw_indexed_prim = _dll("al_draw_indexed_prim", c_int, [c_void_p, c_void_p, c_void_p, c_void_p, c_int, c_int]) al_draw_justified_text = _dll("al_draw_justified_text", c_int, [c_void_p, c_float, c_float, c_float, c_float, c_int, c_void_p]) al_draw_justified_textf = _dll("al_draw_justified_textf", c_int, [c_void_p, c_float, c_float, c_float, c_float, c_int, c_void_p, c_void_p]) al_draw_justified_ustr = _dll("al_draw_justified_ustr", c_int, [c_void_p, c_float, c_float, c_float, c_float, c_int, c_void_p]) al_draw_line = _dll("al_draw_line", c_int, [c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float]) al_draw_pixel = _dll("al_draw_pixel", c_int, [c_float, c_float, ALLEGRO_COLOR]) al_draw_prim = _dll("al_draw_prim", c_int, [c_void_p, c_void_p, c_void_p, c_int, c_int, c_int]) al_draw_rectangle = _dll("al_draw_rectangle", c_int, [c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float]) al_draw_ribbon = _dll("al_draw_ribbon", c_int, [c_void_p, c_int, ALLEGRO_COLOR, c_float, c_int]) al_draw_rotated_bitmap = _dll("al_draw_rotated_bitmap", c_int, [c_void_p, c_float, c_float, c_float, c_float, c_float, c_int]) al_draw_rotated_scaled_bitmap = _dll("al_draw_rotated_scaled_bitmap", c_int, [c_void_p, c_float, c_float, c_float, c_float, c_float, c_float, c_float, c_int]) al_draw_rounded_rectangle = _dll("al_draw_rounded_rectangle", c_int, [c_float, c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float]) al_draw_scaled_bitmap = _dll("al_draw_scaled_bitmap", c_int, [c_void_p, c_float, c_float, c_float, c_float, c_float, c_float, c_float, c_float, c_int]) al_draw_soft_line = _dll("al_draw_soft_line", c_int, [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p]) al_draw_soft_triangle = _dll("al_draw_soft_triangle", c_int, [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p]) al_draw_spline = _dll("al_draw_spline", c_int, [c_void_p, ALLEGRO_COLOR, c_float]) al_draw_text = _dll("al_draw_text", c_int, [c_void_p, c_float, c_float, c_int, c_void_p]) al_draw_textf = _dll("al_draw_textf", c_int, [c_void_p, c_float, c_float, c_int, c_void_p, c_void_p]) al_draw_triangle = _dll("al_draw_triangle", c_int, [c_float, c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float]) al_draw_ustr = _dll("al_draw_ustr", c_int, [c_void_p, c_float, c_float, c_int, c_void_p]) al_drop_next_event = _dll("al_drop_next_event", c_bool, [c_void_p]) al_drop_path_tail = _dll("al_drop_path_tail", c_int, [c_void_p]) al_emit_user_event = _dll("al_emit_user_event", c_bool, [c_void_p, c_void_p, c_void_p]) al_event_queue_is_empty = _dll("al_event_queue_is_empty", c_bool, [c_void_p]) al_fclose = _dll("al_fclose", c_int, [c_void_p]) al_feof = _dll("al_feof", c_bool, [c_void_p]) al_ferror = _dll("al_ferror", c_bool, [c_void_p]) al_fflush = _dll("al_fflush", c_bool, [c_void_p]) al_fget_ustr = _dll("al_fget_ustr", c_void_p, [c_void_p]) al_fgetc = _dll("al_fgetc", c_int, [c_void_p]) al_fgets = _dll("al_fgets", c_void_p, [c_void_p, c_void_p, c_ulong]) al_filename_exists = _dll("al_filename_exists", c_bool, [c_void_p]) al_fixacos = _dll("al_fixacos", c_int, [c_int]) al_fixadd = _dll("al_fixadd", c_int, [c_int, c_int]) al_fixasin = _dll("al_fixasin", c_int, [c_int]) al_fixatan = _dll("al_fixatan", c_int, [c_int]) al_fixatan2 = _dll("al_fixatan2", c_int, [c_int, c_int]) al_fixceil = _dll("al_fixceil", c_int, [c_int]) al_fixcos = _dll("al_fixcos", c_int, [c_int]) al_fixdiv = _dll("al_fixdiv", c_int, [c_int, c_int]) al_fixfloor = _dll("al_fixfloor", c_int, [c_int]) al_fixhypot = _dll("al_fixhypot", c_int, [c_int, c_int]) al_fixmul = _dll("al_fixmul", c_int, [c_int, c_int]) al_fixsin = _dll("al_fixsin", c_int, [c_int]) al_fixsqrt = _dll("al_fixsqrt", c_int, [c_int]) al_fixsub = _dll("al_fixsub", c_int, [c_int, c_int]) al_fixtan = _dll("al_fixtan", c_int, [c_int]) al_fixtof = _dll("al_fixtof", c_double, [c_int]) al_fixtoi = _dll("al_fixtoi", c_int, [c_int]) al_flip_display = _dll("al_flip_display", c_int, []) al_flush_event_queue = _dll("al_flush_event_queue", c_int, [c_void_p]) al_fopen = _dll("al_fopen", c_void_p, [c_void_p, c_void_p]) al_fopen_fd = _dll("al_fopen_fd", c_void_p, [c_int, c_void_p]) al_fputc = _dll("al_fputc", c_int, [c_void_p, c_int]) al_fputs = _dll("al_fputs", c_int, [c_void_p, c_void_p]) al_fread = _dll("al_fread", c_ulong, [c_void_p, c_void_p, c_ulong]) al_fread16be = _dll("al_fread16be", c_short, [c_void_p]) al_fread16le = _dll("al_fread16le", c_short, [c_void_p]) al_fread32be = _dll("al_fread32be", c_int, [c_void_p, c_void_p]) al_fread32le = _dll("al_fread32le", c_int, [c_void_p, c_void_p]) al_free_path = _dll("al_free_path", c_int, [c_void_p]) al_fs_entry_exists = _dll("al_fs_entry_exists", c_bool, [c_void_p]) al_fs_entry_is_directory = _dll("al_fs_entry_is_directory", c_bool, [c_void_p]) al_fs_entry_is_file = _dll("al_fs_entry_is_file", c_bool, [c_void_p]) al_fseek = _dll("al_fseek", c_bool, [c_void_p, c_long, c_int]) al_fsize = _dll("al_fsize", c_long, [c_void_p]) al_ftell = _dll("al_ftell", c_long, [c_void_p]) al_ftofix = _dll("al_ftofix", c_int, [c_double]) al_fungetc = _dll("al_fungetc", c_int, [c_void_p, c_int]) al_fwrite = _dll("al_fwrite", c_ulong, [c_void_p, c_void_p, c_ulong]) al_fwrite16be = _dll("al_fwrite16be", c_ulong, [c_void_p, c_short]) al_fwrite16le = _dll("al_fwrite16le", c_ulong, [c_void_p, c_short]) al_fwrite32be = _dll("al_fwrite32be", c_ulong, [c_void_p, c_int]) al_fwrite32le = _dll("al_fwrite32le", c_ulong, [c_void_p, c_int]) al_get_allegro_audio_version = _dll("al_get_allegro_audio_version", c_uint, []) al_get_allegro_color = _dll("al_get_allegro_color", ALLEGRO_COLOR, [ALLEGRO_PRIM_COLOR]) al_get_allegro_color_version = _dll("al_get_allegro_color_version", c_uint, []) al_get_allegro_flac_version = _dll("al_get_allegro_flac_version", c_uint, []) al_get_allegro_font_version = _dll("al_get_allegro_font_version", c_uint, []) al_get_allegro_image_version = _dll("al_get_allegro_image_version", c_uint, []) al_get_allegro_native_dialog_version = _dll("al_get_allegro_native_dialog_version", c_uint, []) al_get_allegro_ogg_vorbis_version = _dll("al_get_allegro_ogg_vorbis_version", c_uint, []) al_get_allegro_physfs_version = _dll("al_get_allegro_physfs_version", c_uint, []) al_get_allegro_primitives_version = _dll("al_get_allegro_primitives_version", c_uint, []) al_get_allegro_ttf_version = _dll("al_get_allegro_ttf_version", c_uint, []) al_get_allegro_version = _dll("al_get_allegro_version", c_uint, []) al_get_appname = _dll("al_get_appname", c_void_p, []) al_get_audio_stream_attached = _dll("al_get_audio_stream_attached", c_bool, [c_void_p]) al_get_audio_stream_channels = _dll("al_get_audio_stream_channels", c_int, [c_void_p]) al_get_audio_stream_depth = _dll("al_get_audio_stream_depth", c_int, [c_void_p]) al_get_audio_stream_event_source = _dll("al_get_audio_stream_event_source", c_void_p, [c_void_p]) al_get_audio_stream_fragment = _dll("al_get_audio_stream_fragment", c_void_p, [c_void_p]) al_get_audio_stream_fragments = _dll("al_get_audio_stream_fragments", c_uint, [c_void_p]) al_get_audio_stream_frequency = _dll("al_get_audio_stream_frequency", c_uint, [c_void_p]) al_get_audio_stream_gain = _dll("al_get_audio_stream_gain", c_float, [c_void_p]) al_get_audio_stream_length = _dll("al_get_audio_stream_length", c_ulong, [c_void_p]) al_get_audio_stream_length_secs = _dll("al_get_audio_stream_length_secs", c_double, [c_void_p]) al_get_audio_stream_pan = _dll("al_get_audio_stream_pan", c_float, [c_void_p]) al_get_audio_stream_playing = _dll("al_get_audio_stream_playing", c_bool, [c_void_p]) al_get_audio_stream_playmode = _dll("al_get_audio_stream_playmode", c_int, [c_void_p]) al_get_audio_stream_position_secs = _dll("al_get_audio_stream_position_secs", c_double, [c_void_p]) al_get_audio_stream_speed = _dll("al_get_audio_stream_speed", c_float, [c_void_p]) al_get_available_audio_stream_fragments = _dll("al_get_available_audio_stream_fragments", c_uint, [c_void_p]) al_get_backbuffer = _dll("al_get_backbuffer", c_void_p, []) al_get_bitmap_flags = _dll("al_get_bitmap_flags", c_int, [c_void_p]) al_get_bitmap_format = _dll("al_get_bitmap_format", c_int, [c_void_p]) al_get_bitmap_height = _dll("al_get_bitmap_height", c_int, [c_void_p]) al_get_bitmap_width = _dll("al_get_bitmap_width", c_int, [c_void_p]) al_get_blender = _dll("al_get_blender", c_int, [c_void_p, c_void_p, c_void_p]) al_get_channel_count = _dll("al_get_channel_count", c_ulong, [c_int]) al_get_clipping_rectangle = _dll("al_get_clipping_rectangle", c_int, [c_void_p, c_void_p, c_void_p, c_void_p]) al_get_config_value = _dll("al_get_config_value", c_void_p, [c_void_p, c_void_p, c_void_p]) al_get_current_directory = _dll("al_get_current_directory", c_void_p, []) al_get_current_display = _dll("al_get_current_display", c_void_p, []) al_get_current_transform = _dll("al_get_current_transform", c_void_p, []) al_get_current_video_adapter = _dll("al_get_current_video_adapter", c_int, []) al_get_default_mixer = _dll("al_get_default_mixer", c_void_p, []) al_get_depth_size = _dll("al_get_depth_size", c_ulong, [c_int]) al_get_display_event_source = _dll("al_get_display_event_source", c_void_p, [c_void_p]) al_get_display_flags = _dll("al_get_display_flags", c_int, []) al_get_display_format = _dll("al_get_display_format", c_int, []) al_get_display_format_option = _dll("al_get_display_format_option", c_int, [c_int, c_int]) al_get_display_height = _dll("al_get_display_height", c_int, []) al_get_display_mode = _dll("al_get_display_mode", c_void_p, [c_int, c_void_p]) al_get_display_option = _dll("al_get_display_option", c_int, [c_int]) al_get_display_refresh_rate = _dll("al_get_display_refresh_rate", c_int, []) al_get_display_width = _dll("al_get_display_width", c_int, []) al_get_errno = _dll("al_get_errno", c_int, []) al_get_first_config_entry = _dll("al_get_first_config_entry", c_void_p, [c_void_p, c_void_p, c_void_p]) al_get_first_config_section = _dll("al_get_first_config_section", c_void_p, [c_void_p, c_void_p]) al_get_font_line_height = _dll("al_get_font_line_height", c_int, [c_void_p]) al_get_frontbuffer = _dll("al_get_frontbuffer", c_void_p, []) al_get_fs_entry_atime = _dll("al_get_fs_entry_atime", c_long, [c_void_p]) al_get_fs_entry_ctime = _dll("al_get_fs_entry_ctime", c_long, [c_void_p]) al_get_fs_entry_mode = _dll("al_get_fs_entry_mode", c_uint, [c_void_p]) al_get_fs_entry_mtime = _dll("al_get_fs_entry_mtime", c_long, [c_void_p]) al_get_fs_entry_name = _dll("al_get_fs_entry_name", c_void_p, [c_void_p]) al_get_fs_entry_size = _dll("al_get_fs_entry_size", c_long, [c_void_p]) al_get_fs_interface = _dll("al_get_fs_interface", c_void_p, []) al_get_joystick = _dll("al_get_joystick", c_void_p, [c_int]) al_get_joystick_axis_name = _dll("al_get_joystick_axis_name", c_void_p, [c_void_p, c_int, c_int]) al_get_joystick_button_name = _dll("al_get_joystick_button_name", c_void_p, [c_void_p, c_int]) al_get_joystick_event_source = _dll("al_get_joystick_event_source", c_void_p, [c_void_p]) al_get_joystick_name = _dll("al_get_joystick_name", c_void_p, [c_void_p]) al_get_joystick_num_axes = _dll("al_get_joystick_num_axes", c_int, [c_void_p, c_int]) al_get_joystick_num_buttons = _dll("al_get_joystick_num_buttons", c_int, [c_void_p]) al_get_joystick_num_sticks = _dll("al_get_joystick_num_sticks", c_int, [c_void_p]) al_get_joystick_number = _dll("al_get_joystick_number", c_int, [c_void_p]) al_get_joystick_state = _dll("al_get_joystick_state", c_int, [c_void_p, c_void_p]) al_get_joystick_stick_flags = _dll("al_get_joystick_stick_flags", c_int, [c_void_p, c_int]) al_get_joystick_stick_name = _dll("al_get_joystick_stick_name", c_void_p, [c_void_p, c_int]) al_get_keyboard_event_source = _dll("al_get_keyboard_event_source", c_void_p, []) al_get_keyboard_state = _dll("al_get_keyboard_state", c_int, [c_void_p]) al_get_mixer_attached = _dll("al_get_mixer_attached", c_bool, [c_void_p]) al_get_mixer_channels = _dll("al_get_mixer_channels", c_int, [c_void_p]) al_get_mixer_depth = _dll("al_get_mixer_depth", c_int, [c_void_p]) al_get_mixer_frequency = _dll("al_get_mixer_frequency", c_uint, [c_void_p]) al_get_mixer_playing = _dll("al_get_mixer_playing", c_bool, [c_void_p]) al_get_mixer_quality = _dll("al_get_mixer_quality", c_int, [c_void_p]) al_get_monitor_info = _dll("al_get_monitor_info", c_int, [c_int, c_void_p]) al_get_mouse_cursor_position = _dll("al_get_mouse_cursor_position", c_bool, [c_void_p, c_void_p]) al_get_mouse_event_source = _dll("al_get_mouse_event_source", c_void_p, []) al_get_mouse_num_axes = _dll("al_get_mouse_num_axes", c_uint, []) al_get_mouse_num_buttons = _dll("al_get_mouse_num_buttons", c_uint, []) al_get_mouse_state = _dll("al_get_mouse_state", c_int, [c_void_p]) al_get_mouse_state_axis = _dll("al_get_mouse_state_axis", c_int, [c_void_p, c_int]) al_get_native_file_dialog_count = _dll("al_get_native_file_dialog_count", c_int, [c_void_p]) al_get_native_file_dialog_path = _dll("al_get_native_file_dialog_path", c_void_p, [c_void_p, c_ulong]) al_get_new_bitmap_flags = _dll("al_get_new_bitmap_flags", c_int, []) al_get_new_bitmap_format = _dll("al_get_new_bitmap_format", c_int, []) al_get_new_display_flags = _dll("al_get_new_display_flags", c_int, []) al_get_new_display_option = _dll("al_get_new_display_option", c_int, [c_int, c_void_p]) al_get_new_display_refresh_rate = _dll("al_get_new_display_refresh_rate", c_int, []) al_get_new_file_interface = _dll("al_get_new_file_interface", c_void_p, []) al_get_new_window_position = _dll("al_get_new_window_position", c_int, [c_void_p, c_void_p]) al_get_next_config_entry = _dll("al_get_next_config_entry", c_void_p, [c_void_p]) al_get_next_config_section = _dll("al_get_next_config_section", c_void_p, [c_void_p]) al_get_next_event = _dll("al_get_next_event", c_bool, [c_void_p, c_void_p]) al_get_num_display_formats = _dll("al_get_num_display_formats", c_int, []) al_get_num_display_modes = _dll("al_get_num_display_modes", c_int, []) al_get_num_joysticks = _dll("al_get_num_joysticks", c_int, []) al_get_num_video_adapters = _dll("al_get_num_video_adapters", c_int, []) al_get_opengl_extension_list = _dll("al_get_opengl_extension_list", c_void_p, []) al_get_opengl_fbo = _dll("al_get_opengl_fbo", c_uint, [c_void_p]) al_get_opengl_proc_address = _dll("al_get_opengl_proc_address", c_void_p, [c_void_p]) al_get_opengl_texture = _dll("al_get_opengl_texture", c_uint, [c_void_p]) al_get_opengl_texture_position = _dll("al_get_opengl_texture_position", c_int, [c_void_p, c_void_p, c_void_p]) al_get_opengl_texture_size = _dll("al_get_opengl_texture_size", c_int, [c_void_p, c_void_p, c_void_p]) al_get_opengl_version = _dll("al_get_opengl_version", c_float, []) al_get_orgname = _dll("al_get_orgname", c_void_p, []) al_get_path_basename = _dll("al_get_path_basename", c_void_p, [c_void_p]) al_get_path_component = _dll("al_get_path_component", c_void_p, [c_void_p, c_int]) al_get_path_drive = _dll("al_get_path_drive", c_void_p, [c_void_p]) al_get_path_extension = _dll("al_get_path_extension", c_void_p, [c_void_p]) al_get_path_filename = _dll("al_get_path_filename", c_void_p, [c_void_p]) al_get_path_num_components = _dll("al_get_path_num_components", c_int, [c_void_p]) al_get_path_tail = _dll("al_get_path_tail", c_void_p, [c_void_p]) al_get_pixel = _dll("al_get_pixel", ALLEGRO_COLOR, [c_void_p, c_int, c_int]) al_get_pixel_format_bits = _dll("al_get_pixel_format_bits", c_int, [c_int]) al_get_pixel_size = _dll("al_get_pixel_size", c_int, [c_int]) al_get_prim_color = _dll("al_get_prim_color", ALLEGRO_PRIM_COLOR, [ALLEGRO_COLOR]) al_get_sample = _dll("al_get_sample", c_void_p, [c_void_p]) al_get_sample_channels = _dll("al_get_sample_channels", c_int, [c_void_p]) al_get_sample_data = _dll("al_get_sample_data", c_void_p, [c_void_p]) al_get_sample_depth = _dll("al_get_sample_depth", c_int, [c_void_p]) al_get_sample_frequency = _dll("al_get_sample_frequency", c_uint, [c_void_p]) al_get_sample_instance_attached = _dll("al_get_sample_instance_attached", c_bool, [c_void_p]) al_get_sample_instance_channels = _dll("al_get_sample_instance_channels", c_int, [c_void_p]) al_get_sample_instance_depth = _dll("al_get_sample_instance_depth", c_int, [c_void_p]) al_get_sample_instance_frequency = _dll("al_get_sample_instance_frequency", c_uint, [c_void_p]) al_get_sample_instance_gain = _dll("al_get_sample_instance_gain", c_float, [c_void_p]) al_get_sample_instance_length = _dll("al_get_sample_instance_length", c_ulong, [c_void_p]) al_get_sample_instance_pan = _dll("al_get_sample_instance_pan", c_float, [c_void_p]) al_get_sample_instance_playing = _dll("al_get_sample_instance_playing", c_bool, [c_void_p]) al_get_sample_instance_playmode = _dll("al_get_sample_instance_playmode", c_int, [c_void_p]) al_get_sample_instance_position = _dll("al_get_sample_instance_position", c_ulong, [c_void_p]) al_get_sample_instance_speed = _dll("al_get_sample_instance_speed", c_float, [c_void_p]) al_get_sample_instance_time = _dll("al_get_sample_instance_time", c_float, [c_void_p]) al_get_sample_length = _dll("al_get_sample_length", c_ulong, [c_void_p]) al_get_separate_blender = _dll("al_get_separate_blender", c_int, [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p]) al_get_standard_path = _dll("al_get_standard_path", c_void_p, [c_int]) al_get_system_config = _dll("al_get_system_config", c_void_p, []) al_get_system_driver = _dll("al_get_system_driver", c_void_p, []) al_get_target_bitmap = _dll("al_get_target_bitmap", c_void_p, []) al_get_text_dimensions = _dll("al_get_text_dimensions", c_int, [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p]) al_get_text_width = _dll("al_get_text_width", c_int, [c_void_p, c_void_p]) al_get_thread_should_stop = _dll("al_get_thread_should_stop", c_bool, [c_void_p]) al_get_timer_count = _dll("al_get_timer_count", c_long, [c_void_p]) al_get_timer_event_source = _dll("al_get_timer_event_source", c_void_p, [c_void_p]) al_get_timer_speed = _dll("al_get_timer_speed", c_double, [c_void_p]) al_get_ustr_dimensions = _dll("al_get_ustr_dimensions", c_int, [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p]) al_get_ustr_width = _dll("al_get_ustr_width", c_int, [c_void_p, c_void_p]) al_get_voice_channels = _dll("al_get_voice_channels", c_int, [c_void_p]) al_get_voice_depth = _dll("al_get_voice_depth", c_int, [c_void_p]) al_get_voice_frequency = _dll("al_get_voice_frequency", c_uint, [c_void_p]) al_get_voice_playing = _dll("al_get_voice_playing", c_bool, [c_void_p]) al_get_voice_position = _dll("al_get_voice_position", c_ulong, [c_void_p]) al_get_window_position = _dll("al_get_window_position", c_int, [c_void_p, c_void_p, c_void_p]) al_grab_font_from_bitmap = _dll("al_grab_font_from_bitmap", c_void_p, [c_void_p, c_int, c_void_p]) al_hide_mouse_cursor = _dll("al_hide_mouse_cursor", c_bool, []) al_identity_transform = _dll("al_identity_transform", c_int, [c_void_p]) al_inhibit_screensaver = _dll("al_inhibit_screensaver", c_bool, [c_bool]) al_init_flac_addon = _dll("al_init_flac_addon", c_bool, []) al_init_font_addon = _dll("al_init_font_addon", c_int, []) al_init_image_addon = _dll("al_init_image_addon", c_bool, []) al_init_ogg_vorbis_addon = _dll("al_init_ogg_vorbis_addon", c_bool, []) al_init_timeout = _dll("al_init_timeout", c_int, [c_void_p, c_double]) al_init_ttf_addon = _dll("al_init_ttf_addon", c_bool, []) al_init_user_event_source = _dll("al_init_user_event_source", c_int, [c_void_p]) al_insert_path_component = _dll("al_insert_path_component", c_int, [c_void_p, c_int, c_void_p]) al_install_audio = _dll("al_install_audio", c_bool, [c_int]) al_install_joystick = _dll("al_install_joystick", c_bool, []) al_install_keyboard = _dll("al_install_keyboard", c_bool, []) al_install_mouse = _dll("al_install_mouse", c_bool, []) al_install_system = _dll("al_install_system", c_bool, [c_void_p]) al_install_timer = _dll("al_install_timer", c_void_p, [c_double]) al_invert_transform = _dll("al_invert_transform", c_int, [c_void_p]) al_is_bitmap_locked = _dll("al_is_bitmap_locked", c_bool, [c_void_p]) al_is_compatible_bitmap = _dll("al_is_compatible_bitmap", c_bool, [c_void_p]) al_is_keyboard_installed = _dll("al_is_keyboard_installed", c_bool, []) al_is_mouse_installed = _dll("al_is_mouse_installed", c_bool, []) al_is_opengl_extension_supported = _dll("al_is_opengl_extension_supported", c_int, [c_void_p]) al_is_path_present = _dll("al_is_path_present", c_bool, [c_void_p]) al_is_sub_bitmap = _dll("al_is_sub_bitmap", c_bool, [c_void_p]) al_itofix = _dll("al_itofix", c_int, [c_int]) al_join_paths = _dll("al_join_paths", c_bool, [c_void_p, c_void_p]) al_join_thread = _dll("al_join_thread", c_int, [c_void_p, c_void_p]) al_key_down = _dll("al_key_down", c_bool, [c_void_p, c_int]) al_keycode_to_name = _dll("al_keycode_to_name", c_void_p, [c_int]) al_load_audio_stream = _dll("al_load_audio_stream", c_void_p, [c_void_p, c_ulong, c_uint]) al_load_audio_stream_flac = _dll("al_load_audio_stream_flac", c_void_p, [c_void_p, c_ulong, c_uint]) al_load_audio_stream_ogg_vorbis = _dll("al_load_audio_stream_ogg_vorbis", c_void_p, [c_void_p, c_ulong, c_uint]) al_load_audio_stream_wav = _dll("al_load_audio_stream_wav", c_void_p, [c_void_p, c_ulong, c_uint]) al_load_bitmap = _dll("al_load_bitmap", c_void_p, [c_void_p]) al_load_bitmap_font = _dll("al_load_bitmap_font", c_void_p, [c_void_p]) al_load_bitmap_stream = _dll("al_load_bitmap_stream", c_void_p, [c_void_p, c_void_p]) al_load_bmp = _dll("al_load_bmp", c_void_p, [c_void_p]) al_load_bmp_stream = _dll("al_load_bmp_stream", c_void_p, [c_void_p]) al_load_config_file = _dll("al_load_config_file", c_void_p, [c_void_p]) al_load_font = _dll("al_load_font", c_void_p, [c_void_p, c_int, c_int]) al_load_jpg = _dll("al_load_jpg", c_void_p, [c_void_p]) al_load_jpg_stream = _dll("al_load_jpg_stream", c_void_p, [c_void_p]) al_load_pcx = _dll("al_load_pcx", c_void_p, [c_void_p]) al_load_pcx_stream = _dll("al_load_pcx_stream", c_void_p, [c_void_p]) al_load_png = _dll("al_load_png", c_void_p, [c_void_p]) al_load_png_stream = _dll("al_load_png_stream", c_void_p, [c_void_p]) al_load_sample = _dll("al_load_sample", c_void_p, [c_void_p]) al_load_sample_flac = _dll("al_load_sample_flac", c_void_p, [c_void_p]) al_load_sample_ogg_vorbis = _dll("al_load_sample_ogg_vorbis", c_void_p, [c_void_p]) al_load_sample_wav = _dll("al_load_sample_wav", c_void_p, [c_void_p]) al_load_tga = _dll("al_load_tga", c_void_p, [c_void_p]) al_load_tga_stream = _dll("al_load_tga_stream", c_void_p, [c_void_p]) al_load_ttf_font = _dll("al_load_ttf_font", c_void_p, [c_void_p, c_int, c_int]) al_load_ttf_font_entry = _dll("al_load_ttf_font_entry", c_void_p, [c_void_p, c_void_p, c_int, c_int]) al_lock_bitmap = _dll("al_lock_bitmap", c_void_p, [c_void_p, c_int, c_int]) al_lock_bitmap_region = _dll("al_lock_bitmap_region", c_void_p, [c_void_p, c_int, c_int, c_int, c_int, c_int, c_int]) al_lock_mutex = _dll("al_lock_mutex", c_int, [c_void_p]) al_make_directory = _dll("al_make_directory", c_bool, [c_void_p]) al_make_path_absolute = _dll("al_make_path_absolute", c_bool, [c_void_p]) al_make_path_canonical = _dll("al_make_path_canonical", c_bool, [c_void_p]) al_make_temp_file = _dll("al_make_temp_file", c_void_p, [c_void_p, c_void_p]) al_map_rgb = _dll("al_map_rgb", ALLEGRO_COLOR, [c_ubyte, c_ubyte, c_ubyte]) al_map_rgb_f = _dll("al_map_rgb_f", ALLEGRO_COLOR, [c_float, c_float, c_float]) al_map_rgba = _dll("al_map_rgba", ALLEGRO_COLOR, [c_ubyte, c_ubyte, c_ubyte, c_ubyte]) al_map_rgba_f = _dll("al_map_rgba_f", ALLEGRO_COLOR, [c_float, c_float, c_float, c_float]) al_merge_config = _dll("al_merge_config", c_void_p, [c_void_p, c_void_p]) al_merge_config_into = _dll("al_merge_config_into", c_int, [c_void_p, c_void_p]) al_mouse_button_down = _dll("al_mouse_button_down", c_bool, [c_void_p, c_int]) al_open_directory = _dll("al_open_directory", c_bool, [c_void_p]) al_path_cstr = _dll("al_path_cstr", c_void_p, [c_void_p, c_byte]) al_peek_next_event = _dll("al_peek_next_event", c_bool, [c_void_p, c_void_p]) al_play_sample = _dll("al_play_sample", c_bool, [c_void_p, c_float, c_float, c_float, c_int, c_void_p]) al_play_sample_instance = _dll("al_play_sample_instance", c_bool, [c_void_p]) al_put_pixel = _dll("al_put_pixel", c_int, [c_int, c_int, ALLEGRO_COLOR]) al_read_directory = _dll("al_read_directory", c_void_p, [c_void_p]) al_ref_buffer = _dll("al_ref_buffer", c_void_p, [c_void_p, c_void_p, c_ulong]) al_ref_cstr = _dll("al_ref_cstr", c_void_p, [c_void_p, c_void_p]) al_ref_ustr = _dll("al_ref_ustr", c_void_p, [c_void_p, c_void_p, c_int, c_int]) al_register_assert_handler = _dll("al_register_assert_handler", c_int, [c_void_p]) al_register_audio_stream_loader = _dll("al_register_audio_stream_loader", c_bool, [c_void_p, c_void_p]) al_register_bitmap_loader = _dll("al_register_bitmap_loader", c_bool, [c_void_p, c_void_p]) al_register_bitmap_loader_stream = _dll("al_register_bitmap_loader_stream", c_bool, [c_void_p, c_void_p]) al_register_bitmap_saver = _dll("al_register_bitmap_saver", c_bool, [c_void_p, c_void_p]) al_register_bitmap_saver_stream = _dll("al_register_bitmap_saver_stream", c_bool, [c_void_p, c_void_p]) al_register_event_source = _dll("al_register_event_source", c_int, [c_void_p, c_void_p]) al_register_font_loader = _dll("al_register_font_loader", c_bool, [c_void_p, c_void_p]) al_register_sample_loader = _dll("al_register_sample_loader", c_bool, [c_void_p, c_void_p]) al_register_sample_saver = _dll("al_register_sample_saver", c_bool, [c_void_p, c_void_p]) al_register_trace_handler = _dll("al_register_trace_handler", c_int, [c_void_p]) al_release_joystick = _dll("al_release_joystick", c_int, [c_void_p]) al_remove_filename = _dll("al_remove_filename", c_bool, [c_void_p]) al_remove_fs_entry = _dll("al_remove_fs_entry", c_bool, [c_void_p]) al_remove_opengl_fbo = _dll("al_remove_opengl_fbo", c_int, [c_void_p]) al_remove_path_component = _dll("al_remove_path_component", c_int, [c_void_p, c_int]) al_replace_path_component = _dll("al_replace_path_component", c_int, [c_void_p, c_int, c_void_p]) al_reserve_samples = _dll("al_reserve_samples", c_bool, [c_int]) al_reset_new_display_options = _dll("al_reset_new_display_options", c_int, []) al_resize_display = _dll("al_resize_display", c_bool, [c_int, c_int]) al_rest = _dll("al_rest", c_int, [c_double]) al_restore_default_mixer = _dll("al_restore_default_mixer", c_bool, []) al_restore_state = _dll("al_restore_state", c_int, [c_void_p]) al_rewind_audio_stream = _dll("al_rewind_audio_stream", c_bool, [c_void_p]) al_rotate_transform = _dll("al_rotate_transform", c_int, [c_void_p, c_float]) al_run_detached_thread = _dll("al_run_detached_thread", c_int, [c_void_p, c_void_p]) al_save_bitmap = _dll("al_save_bitmap", c_bool, [c_void_p, c_void_p]) al_save_bitmap_stream = _dll("al_save_bitmap_stream", c_bool, [c_void_p, c_void_p, c_void_p]) al_save_bmp = _dll("al_save_bmp", c_bool, [c_void_p, c_void_p]) al_save_bmp_stream = _dll("al_save_bmp_stream", c_bool, [c_void_p, c_void_p]) al_save_config_file = _dll("al_save_config_file", c_bool, [c_void_p, c_void_p]) al_save_jpg = _dll("al_save_jpg", c_bool, [c_void_p, c_void_p]) al_save_jpg_stream = _dll("al_save_jpg_stream", c_bool, [c_void_p, c_void_p]) al_save_pcx = _dll("al_save_pcx", c_bool, [c_void_p, c_void_p]) al_save_pcx_stream = _dll("al_save_pcx_stream", c_bool, [c_void_p, c_void_p]) al_save_png = _dll("al_save_png", c_bool, [c_void_p, c_void_p]) al_save_png_stream = _dll("al_save_png_stream", c_bool, [c_void_p, c_void_p]) al_save_sample = _dll("al_save_sample", c_bool, [c_void_p, c_void_p]) al_save_sample_wav = _dll("al_save_sample_wav", c_bool, [c_void_p, c_void_p]) al_save_sample_wav_pf = _dll("al_save_sample_wav_pf", c_bool, [c_void_p, c_void_p]) al_save_tga = _dll("al_save_tga", c_bool, [c_void_p, c_void_p]) al_save_tga_stream = _dll("al_save_tga_stream", c_bool, [c_void_p, c_void_p]) al_scale_transform = _dll("al_scale_transform", c_int, [c_void_p, c_float, c_float]) al_seek_audio_stream_secs = _dll("al_seek_audio_stream_secs", c_bool, [c_void_p, c_double]) al_set_appname = _dll("al_set_appname", c_int, [c_void_p]) al_set_audio_stream_fragment = _dll("al_set_audio_stream_fragment", c_bool, [c_void_p, c_void_p]) al_set_audio_stream_gain = _dll("al_set_audio_stream_gain", c_bool, [c_void_p, c_float]) al_set_audio_stream_loop_secs = _dll("al_set_audio_stream_loop_secs", c_bool, [c_void_p, c_double, c_double]) al_set_audio_stream_pan = _dll("al_set_audio_stream_pan", c_bool, [c_void_p, c_float]) al_set_audio_stream_playing = _dll("al_set_audio_stream_playing", c_bool, [c_void_p, c_bool]) al_set_audio_stream_playmode = _dll("al_set_audio_stream_playmode", c_bool, [c_void_p, c_int]) al_set_audio_stream_speed = _dll("al_set_audio_stream_speed", c_bool, [c_void_p, c_float]) al_set_blender = _dll("al_set_blender", c_int, [c_int, c_int, ALLEGRO_COLOR]) al_set_clipping_rectangle = _dll("al_set_clipping_rectangle", c_int, [c_int, c_int, c_int, c_int]) al_set_config_value = _dll("al_set_config_value", c_int, [c_void_p, c_void_p, c_void_p, c_void_p]) al_set_current_display = _dll("al_set_current_display", c_bool, [c_void_p]) al_set_current_video_adapter = _dll("al_set_current_video_adapter", c_int, [c_int]) al_set_default_mixer = _dll("al_set_default_mixer", c_bool, [c_void_p]) al_set_display_icon = _dll("al_set_display_icon", c_int, [c_void_p]) al_set_errno = _dll("al_set_errno", c_int, [c_int]) al_set_fs_interface = _dll("al_set_fs_interface", c_int, [c_void_p]) al_set_keyboard_leds = _dll("al_set_keyboard_leds", c_bool, [c_int]) al_set_memory_management_functions = _dll("al_set_memory_management_functions", c_int, [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p]) al_set_mixer_frequency = _dll("al_set_mixer_frequency", c_bool, [c_void_p, c_ulong]) al_set_mixer_playing = _dll("al_set_mixer_playing", c_bool, [c_void_p, c_bool]) al_set_mixer_postprocess_callback = _dll("al_set_mixer_postprocess_callback", c_bool, [c_void_p, c_void_p, c_void_p]) al_set_mixer_quality = _dll("al_set_mixer_quality", c_bool, [c_void_p, c_int]) al_set_mouse_axis = _dll("al_set_mouse_axis", c_bool, [c_int, c_int]) al_set_mouse_cursor = _dll("al_set_mouse_cursor", c_bool, [c_void_p]) al_set_mouse_range = _dll("al_set_mouse_range", c_bool, [c_int, c_int, c_int, c_int]) al_set_mouse_w = _dll("al_set_mouse_w", c_bool, [c_int]) al_set_mouse_xy = _dll("al_set_mouse_xy", c_bool, [c_int, c_int]) al_set_mouse_z = _dll("al_set_mouse_z", c_bool, [c_int]) al_set_new_bitmap_flags = _dll("al_set_new_bitmap_flags", c_int, [c_int]) al_set_new_bitmap_format = _dll("al_set_new_bitmap_format", c_int, [c_int]) al_set_new_display_flags = _dll("al_set_new_display_flags", c_int, [c_int]) al_set_new_display_format = _dll("al_set_new_display_format", c_int, [c_int]) al_set_new_display_option = _dll("al_set_new_display_option", c_int, [c_int, c_int, c_int]) al_set_new_display_refresh_rate = _dll("al_set_new_display_refresh_rate", c_int, [c_int]) al_set_new_file_interface = _dll("al_set_new_file_interface", c_int, [c_void_p]) al_set_new_window_position = _dll("al_set_new_window_position", c_int, [c_int, c_int]) al_set_orgname = _dll("al_set_orgname", c_int, [c_void_p]) al_set_path_drive = _dll("al_set_path_drive", c_int, [c_void_p, c_void_p]) al_set_path_extension = _dll("al_set_path_extension", c_bool, [c_void_p, c_void_p]) al_set_path_filename = _dll("al_set_path_filename", c_int, [c_void_p, c_void_p]) al_set_physfs_file_interface = _dll("al_set_physfs_file_interface", c_int, []) al_set_sample = _dll("al_set_sample", c_bool, [c_void_p, c_void_p]) al_set_sample_instance_gain = _dll("al_set_sample_instance_gain", c_bool, [c_void_p, c_float]) al_set_sample_instance_length = _dll("al_set_sample_instance_length", c_bool, [c_void_p, c_ulong]) al_set_sample_instance_pan = _dll("al_set_sample_instance_pan", c_bool, [c_void_p, c_float]) al_set_sample_instance_playing = _dll("al_set_sample_instance_playing", c_bool, [c_void_p, c_bool]) al_set_sample_instance_playmode = _dll("al_set_sample_instance_playmode", c_bool, [c_void_p, c_int]) al_set_sample_instance_position = _dll("al_set_sample_instance_position", c_bool, [c_void_p, c_ulong]) al_set_sample_instance_speed = _dll("al_set_sample_instance_speed", c_bool, [c_void_p, c_float]) al_set_separate_blender = _dll("al_set_separate_blender", c_int, [c_int, c_int, c_int, c_int, ALLEGRO_COLOR]) al_set_standard_file_interface = _dll("al_set_standard_file_interface", c_int, []) al_set_standard_fs_interface = _dll("al_set_standard_fs_interface", c_int, []) al_set_system_mouse_cursor = _dll("al_set_system_mouse_cursor", c_bool, [c_int]) al_set_target_bitmap = _dll("al_set_target_bitmap", c_int, [c_void_p]) al_set_thread_should_stop = _dll("al_set_thread_should_stop", c_int, [c_void_p]) al_set_timer_count = _dll("al_set_timer_count", c_int, [c_void_p, c_long]) al_set_timer_speed = _dll("al_set_timer_speed", c_int, [c_void_p, c_double]) al_set_voice_playing = _dll("al_set_voice_playing", c_bool, [c_void_p, c_bool]) al_set_voice_position = _dll("al_set_voice_position", c_bool, [c_void_p, c_ulong]) al_set_window_position = _dll("al_set_window_position", c_int, [c_void_p, c_int, c_int]) al_set_window_title = _dll("al_set_window_title", c_int, [c_void_p]) al_show_mouse_cursor = _dll("al_show_mouse_cursor", c_bool, []) al_show_native_file_dialog = _dll("al_show_native_file_dialog", c_int, [c_void_p]) al_show_native_message_box = _dll("al_show_native_message_box", c_int, [c_void_p, c_void_p, c_void_p, c_void_p, c_int]) al_shutdown_font_addon = _dll("al_shutdown_font_addon", c_int, []) al_shutdown_image_addon = _dll("al_shutdown_image_addon", c_int, []) al_signal_cond = _dll("al_signal_cond", c_int, [c_void_p]) al_start_thread = _dll("al_start_thread", c_int, [c_void_p]) al_start_timer = _dll("al_start_timer", c_int, [c_void_p]) al_stop_sample = _dll("al_stop_sample", c_int, [c_void_p]) al_stop_sample_instance = _dll("al_stop_sample_instance", c_bool, [c_void_p]) al_stop_samples = _dll("al_stop_samples", c_int, []) al_stop_timer = _dll("al_stop_timer", c_int, [c_void_p]) al_store_state = _dll("al_store_state", c_int, [c_void_p, c_int]) al_timer_is_started = _dll("al_timer_is_started", c_bool, [c_void_p]) al_toggle_window_frame = _dll("al_toggle_window_frame", c_int, [c_void_p, c_bool]) al_trace = _dll("al_trace", c_int, [c_void_p, c_void_p]) al_transform_transform = _dll("al_transform_transform", c_int, [c_void_p, c_void_p]) al_transform_vertex = _dll("al_transform_vertex", c_int, [c_void_p, c_void_p]) al_translate_transform = _dll("al_translate_transform", c_int, [c_void_p, c_float, c_float]) al_uninstall_audio = _dll("al_uninstall_audio", c_int, []) al_uninstall_joystick = _dll("al_uninstall_joystick", c_int, []) al_uninstall_keyboard = _dll("al_uninstall_keyboard", c_int, []) al_uninstall_mouse = _dll("al_uninstall_mouse", c_int, []) al_uninstall_system = _dll("al_uninstall_system", c_int, []) al_uninstall_timer = _dll("al_uninstall_timer", c_int, [c_void_p]) al_unlock_bitmap = _dll("al_unlock_bitmap", c_int, [c_void_p]) al_unlock_mutex = _dll("al_unlock_mutex", c_int, [c_void_p]) al_unmap_rgb = _dll("al_unmap_rgb", c_int, [ALLEGRO_COLOR, c_void_p, c_void_p, c_void_p]) al_unmap_rgb_f = _dll("al_unmap_rgb_f", c_int, [ALLEGRO_COLOR, c_void_p, c_void_p, c_void_p]) al_unmap_rgba = _dll("al_unmap_rgba", c_int, [ALLEGRO_COLOR, c_void_p, c_void_p, c_void_p, c_void_p]) al_unmap_rgba_f = _dll("al_unmap_rgba_f", c_int, [ALLEGRO_COLOR, c_void_p, c_void_p, c_void_p, c_void_p]) al_unref_user_event = _dll("al_unref_user_event", c_int, [c_void_p]) al_unregister_event_source = _dll("al_unregister_event_source", c_int, [c_void_p, c_void_p]) al_update_display_region = _dll("al_update_display_region", c_int, [c_int, c_int, c_int, c_int]) al_update_fs_entry = _dll("al_update_fs_entry", c_bool, [c_void_p]) al_use_transform = _dll("al_use_transform", c_int, [c_void_p]) al_ustr_append = _dll("al_ustr_append", c_bool, [c_void_p, c_void_p]) al_ustr_append_chr = _dll("al_ustr_append_chr", c_ulong, [c_void_p, c_int]) al_ustr_append_cstr = _dll("al_ustr_append_cstr", c_bool, [c_void_p, c_void_p]) al_ustr_appendf = _dll("al_ustr_appendf", c_bool, [c_void_p, c_void_p, c_void_p]) al_ustr_assign = _dll("al_ustr_assign", c_bool, [c_void_p, c_void_p]) al_ustr_assign_cstr = _dll("al_ustr_assign_cstr", c_bool, [c_void_p, c_void_p]) al_ustr_assign_substr = _dll("al_ustr_assign_substr", c_bool, [c_void_p, c_void_p, c_int, c_int]) al_ustr_compare = _dll("al_ustr_compare", c_int, [c_void_p, c_void_p]) al_ustr_dup = _dll("al_ustr_dup", c_void_p, [c_void_p]) al_ustr_dup_substr = _dll("al_ustr_dup_substr", c_void_p, [c_void_p, c_int, c_int]) al_ustr_empty_string = _dll("al_ustr_empty_string", c_void_p, []) al_ustr_encode_utf16 = _dll("al_ustr_encode_utf16", c_ulong, [c_void_p, c_void_p, c_ulong]) al_ustr_equal = _dll("al_ustr_equal", c_bool, [c_void_p, c_void_p]) al_ustr_find_chr = _dll("al_ustr_find_chr", c_int, [c_void_p, c_int, c_int]) al_ustr_find_cset = _dll("al_ustr_find_cset", c_int, [c_void_p, c_int, c_void_p]) al_ustr_find_cset_cstr = _dll("al_ustr_find_cset_cstr", c_int, [c_void_p, c_int, c_void_p]) al_ustr_find_cstr = _dll("al_ustr_find_cstr", c_int, [c_void_p, c_int, c_void_p]) al_ustr_find_replace = _dll("al_ustr_find_replace", c_bool, [c_void_p, c_int, c_void_p, c_void_p]) al_ustr_find_replace_cstr = _dll("al_ustr_find_replace_cstr", c_bool, [c_void_p, c_int, c_void_p, c_void_p]) al_ustr_find_set = _dll("al_ustr_find_set", c_int, [c_void_p, c_int, c_void_p]) al_ustr_find_set_cstr = _dll("al_ustr_find_set_cstr", c_int, [c_void_p, c_int, c_void_p]) al_ustr_find_str = _dll("al_ustr_find_str", c_int, [c_void_p, c_int, c_void_p]) al_ustr_free = _dll("al_ustr_free", c_int, [c_void_p]) al_ustr_get = _dll("al_ustr_get", c_int, [c_void_p, c_int]) al_ustr_get_next = _dll("al_ustr_get_next", c_int, [c_void_p, c_void_p]) al_ustr_has_prefix = _dll("al_ustr_has_prefix", c_bool, [c_void_p, c_void_p]) al_ustr_has_prefix_cstr = _dll("al_ustr_has_prefix_cstr", c_bool, [c_void_p, c_void_p]) al_ustr_has_suffix = _dll("al_ustr_has_suffix", c_bool, [c_void_p, c_void_p]) al_ustr_has_suffix_cstr = _dll("al_ustr_has_suffix_cstr", c_bool, [c_void_p, c_void_p]) al_ustr_insert = _dll("al_ustr_insert", c_bool, [c_void_p, c_int, c_void_p]) al_ustr_insert_chr = _dll("al_ustr_insert_chr", c_ulong, [c_void_p, c_int, c_int]) al_ustr_insert_cstr = _dll("al_ustr_insert_cstr", c_bool, [c_void_p, c_int, c_void_p]) al_ustr_length = _dll("al_ustr_length", c_ulong, [c_void_p]) al_ustr_ltrim_ws = _dll("al_ustr_ltrim_ws", c_bool, [c_void_p]) al_ustr_ncompare = _dll("al_ustr_ncompare", c_int, [c_void_p, c_void_p, c_int]) al_ustr_new = _dll("al_ustr_new", c_void_p, [c_void_p]) al_ustr_new_from_buffer = _dll("al_ustr_new_from_buffer", c_void_p, [c_void_p, c_ulong]) al_ustr_new_from_utf16 = _dll("al_ustr_new_from_utf16", c_void_p, [c_void_p]) al_ustr_newf = _dll("al_ustr_newf", c_void_p, [c_void_p, c_void_p]) al_ustr_next = _dll("al_ustr_next", c_bool, [c_void_p, c_void_p]) al_ustr_offset = _dll("al_ustr_offset", c_int, [c_void_p, c_int]) al_ustr_prev = _dll("al_ustr_prev", c_bool, [c_void_p, c_void_p]) al_ustr_prev_get = _dll("al_ustr_prev_get", c_int, [c_void_p, c_void_p]) al_ustr_remove_chr = _dll("al_ustr_remove_chr", c_bool, [c_void_p, c_int]) al_ustr_remove_range = _dll("al_ustr_remove_range", c_bool, [c_void_p, c_int, c_int]) al_ustr_replace_range = _dll("al_ustr_replace_range", c_bool, [c_void_p, c_int, c_int, c_void_p]) al_ustr_rfind_chr = _dll("al_ustr_rfind_chr", c_int, [c_void_p, c_int, c_int]) al_ustr_rfind_cstr = _dll("al_ustr_rfind_cstr", c_int, [c_void_p, c_int, c_void_p]) al_ustr_rfind_str = _dll("al_ustr_rfind_str", c_int, [c_void_p, c_int, c_void_p]) al_ustr_rtrim_ws = _dll("al_ustr_rtrim_ws", c_bool, [c_void_p]) al_ustr_set_chr = _dll("al_ustr_set_chr", c_ulong, [c_void_p, c_int, c_int]) al_ustr_size = _dll("al_ustr_size", c_ulong, [c_void_p]) al_ustr_size_utf16 = _dll("al_ustr_size_utf16", c_ulong, [c_void_p]) al_ustr_to_buffer = _dll("al_ustr_to_buffer", c_int, [c_void_p, c_void_p, c_int]) al_ustr_trim_ws = _dll("al_ustr_trim_ws", c_bool, [c_void_p]) al_ustr_truncate = _dll("al_ustr_truncate", c_bool, [c_void_p, c_int]) al_ustr_vappendf = _dll("al_ustr_vappendf", c_bool, [c_void_p, c_void_p, c_void_p]) al_utf16_encode = _dll("al_utf16_encode", c_ulong, [c_void_p, c_int]) al_utf16_width = _dll("al_utf16_width", c_ulong, [c_int]) al_utf8_encode = _dll("al_utf8_encode", c_ulong, [c_void_p, c_int]) al_utf8_width = _dll("al_utf8_width", c_ulong, [c_int]) al_wait_cond = _dll("al_wait_cond", c_int, [c_void_p, c_void_p]) al_wait_cond_timed = _dll("al_wait_cond_timed", c_int, [c_void_p, c_void_p, c_void_p]) al_wait_for_event = _dll("al_wait_for_event", c_int, [c_void_p, c_void_p]) al_wait_for_event_timed = _dll("al_wait_for_event_timed", c_bool, [c_void_p, c_void_p, c_float]) al_wait_for_event_until = _dll("al_wait_for_event_until", c_bool, [c_void_p, c_void_p, c_void_p]) al_wait_for_vsync = _dll("al_wait_for_vsync", c_bool, []) bmp_read24 = _dll("bmp_read24", c_int, [c_void_p]) bmp_write24 = _dll("bmp_write24", c_int, [c_void_p, c_int]) ALLEGRO_ACC_ALPHA_SIZE = 11 ALLEGRO_ACC_BLUE_SIZE = 10 ALLEGRO_ACC_GREEN_SIZE = 9 ALLEGRO_ACC_RED_SIZE = 8 ALLEGRO_ALIGN_CENTRE = 1 ALLEGRO_ALIGN_LEFT = 0 ALLEGRO_ALIGN_RIGHT = 2 ALLEGRO_ALPHA = 2 ALLEGRO_ALPHA_SHIFT = 7 ALLEGRO_ALPHA_SIZE = 3 ALLEGRO_AUDIO_DEPTH_FLOAT32 = 3 ALLEGRO_AUDIO_DEPTH_INT16 = 1 ALLEGRO_AUDIO_DEPTH_INT24 = 2 ALLEGRO_AUDIO_DEPTH_INT8 = 0 ALLEGRO_AUDIO_DEPTH_UINT16 = 9 ALLEGRO_AUDIO_DEPTH_UINT24 = 10 ALLEGRO_AUDIO_DEPTH_UINT8 = 8 ALLEGRO_AUDIO_DEPTH_UNSIGNED = 8 ALLEGRO_AUDIO_DRIVER_ALSA = 131074 ALLEGRO_AUDIO_DRIVER_AQUEUE = 131077 ALLEGRO_AUDIO_DRIVER_AUTODETECT = 131072 ALLEGRO_AUDIO_DRIVER_DSOUND = 131075 ALLEGRO_AUDIO_DRIVER_OPENAL = 131073 ALLEGRO_AUDIO_DRIVER_OSS = 131076 ALLEGRO_AUX_BUFFERS = 13 ALLEGRO_BLUE_SHIFT = 6 ALLEGRO_BLUE_SIZE = 2 ALLEGRO_CHANNEL_CONF_1 = 16 ALLEGRO_CHANNEL_CONF_2 = 32 ALLEGRO_CHANNEL_CONF_3 = 48 ALLEGRO_CHANNEL_CONF_4 = 64 ALLEGRO_CHANNEL_CONF_5_1 = 81 ALLEGRO_CHANNEL_CONF_6_1 = 97 ALLEGRO_CHANNEL_CONF_7_1 = 113 ALLEGRO_COLOR_SIZE = 14 ALLEGRO_COMPATIBLE_DISPLAY = 24 ALLEGRO_DEPTH_SIZE = 15 ALLEGRO_DISPLAY_OPTIONS_COUNT = 27 ALLEGRO_DONTCARE = 0 ALLEGRO_EVENT_DISPLAY_CLOSE = 42 ALLEGRO_EVENT_DISPLAY_EXPOSE = 40 ALLEGRO_EVENT_DISPLAY_FOUND = 44 ALLEGRO_EVENT_DISPLAY_LOST = 43 ALLEGRO_EVENT_DISPLAY_RESIZE = 41 ALLEGRO_EVENT_DISPLAY_SWITCH_IN = 45 ALLEGRO_EVENT_DISPLAY_SWITCH_OUT = 46 ALLEGRO_EVENT_JOYSTICK_AXIS = 1 ALLEGRO_EVENT_JOYSTICK_BUTTON_DOWN = 2 ALLEGRO_EVENT_JOYSTICK_BUTTON_UP = 3 ALLEGRO_EVENT_KEY_DOWN = 10 ALLEGRO_EVENT_KEY_REPEAT = 11 ALLEGRO_EVENT_KEY_UP = 12 ALLEGRO_EVENT_MOUSE_AXES = 20 ALLEGRO_EVENT_MOUSE_BUTTON_DOWN = 21 ALLEGRO_EVENT_MOUSE_BUTTON_UP = 22 ALLEGRO_EVENT_MOUSE_ENTER_DISPLAY = 23 ALLEGRO_EVENT_MOUSE_LEAVE_DISPLAY = 24 ALLEGRO_EVENT_MOUSE_WARPED = 25 ALLEGRO_EVENT_TIMER = 30 ALLEGRO_EXENAME_PATH = 7 ALLEGRO_FILEMODE_EXECUTE = 4 ALLEGRO_FILEMODE_HIDDEN = 8 ALLEGRO_FILEMODE_ISDIR = 32 ALLEGRO_FILEMODE_ISFILE = 16 ALLEGRO_FILEMODE_READ = 1 ALLEGRO_FILEMODE_WRITE = 2 ALLEGRO_FLOAT_COLOR = 20 ALLEGRO_FLOAT_DEPTH = 21 ALLEGRO_GREEN_SHIFT = 5 ALLEGRO_GREEN_SIZE = 1 ALLEGRO_INVERSE_ALPHA = 3 ALLEGRO_JOYFLAG_ANALOGUE = 2 ALLEGRO_JOYFLAG_DIGITAL = 1 ALLEGRO_KEYMOD_ACCENT1 = 4096 ALLEGRO_KEYMOD_ACCENT2 = 8192 ALLEGRO_KEYMOD_ACCENT3 = 16384 ALLEGRO_KEYMOD_ACCENT4 = 32768 ALLEGRO_KEYMOD_ALT = 4 ALLEGRO_KEYMOD_ALTGR = 64 ALLEGRO_KEYMOD_CAPSLOCK = 1024 ALLEGRO_KEYMOD_COMMAND = 128 ALLEGRO_KEYMOD_CTRL = 2 ALLEGRO_KEYMOD_INALTSEQ = 2048 ALLEGRO_KEYMOD_LWIN = 8 ALLEGRO_KEYMOD_MENU = 32 ALLEGRO_KEYMOD_NUMLOCK = 512 ALLEGRO_KEYMOD_RWIN = 16 ALLEGRO_KEYMOD_SCROLLLOCK = 256 ALLEGRO_KEYMOD_SHIFT = 1 ALLEGRO_KEY_0 = 27 ALLEGRO_KEY_1 = 28 ALLEGRO_KEY_2 = 29 ALLEGRO_KEY_3 = 30 ALLEGRO_KEY_4 = 31 ALLEGRO_KEY_5 = 32 ALLEGRO_KEY_6 = 33 ALLEGRO_KEY_7 = 34 ALLEGRO_KEY_8 = 35 ALLEGRO_KEY_9 = 36 ALLEGRO_KEY_A = 1 ALLEGRO_KEY_ABNT_C1 = 94 ALLEGRO_KEY_ALT = 219 ALLEGRO_KEY_ALTGR = 220 ALLEGRO_KEY_AT = 99 ALLEGRO_KEY_B = 2 ALLEGRO_KEY_BACKQUOTE = 104 ALLEGRO_KEY_BACKSLASH = 70 ALLEGRO_KEY_BACKSLASH2 = 71 ALLEGRO_KEY_BACKSPACE = 63 ALLEGRO_KEY_C = 3 ALLEGRO_KEY_CAPSLOCK = 226 ALLEGRO_KEY_CIRCUMFLEX = 100 ALLEGRO_KEY_CLOSEBRACE = 66 ALLEGRO_KEY_COLON2 = 101 ALLEGRO_KEY_COMMA = 72 ALLEGRO_KEY_COMMAND = 106 ALLEGRO_KEY_CONVERT = 97 ALLEGRO_KEY_D = 4 ALLEGRO_KEY_DELETE = 77 ALLEGRO_KEY_DOWN = 85 ALLEGRO_KEY_E = 5 ALLEGRO_KEY_END = 79 ALLEGRO_KEY_ENTER = 67 ALLEGRO_KEY_EQUALS = 62 ALLEGRO_KEY_EQUALS_PAD = 103 ALLEGRO_KEY_ESCAPE = 59 ALLEGRO_KEY_F = 6 ALLEGRO_KEY_F1 = 47 ALLEGRO_KEY_F10 = 56 ALLEGRO_KEY_F11 = 57 ALLEGRO_KEY_F12 = 58 ALLEGRO_KEY_F2 = 48 ALLEGRO_KEY_F3 = 49 ALLEGRO_KEY_F4 = 50 ALLEGRO_KEY_F5 = 51 ALLEGRO_KEY_F6 = 52 ALLEGRO_KEY_F7 = 53 ALLEGRO_KEY_F8 = 54 ALLEGRO_KEY_F9 = 55 ALLEGRO_KEY_FULLSTOP = 73 ALLEGRO_KEY_G = 7 ALLEGRO_KEY_H = 8 ALLEGRO_KEY_HOME = 78 ALLEGRO_KEY_I = 9 ALLEGRO_KEY_INSERT = 76 ALLEGRO_KEY_J = 10 ALLEGRO_KEY_K = 11 ALLEGRO_KEY_KANA = 96 ALLEGRO_KEY_KANJI = 102 ALLEGRO_KEY_L = 12 ALLEGRO_KEY_LCTRL = 217 ALLEGRO_KEY_LEFT = 82 ALLEGRO_KEY_LSHIFT = 215 ALLEGRO_KEY_LWIN = 221 ALLEGRO_KEY_M = 13 ALLEGRO_KEY_MAX = 227 ALLEGRO_KEY_MENU = 223 ALLEGRO_KEY_MINUS = 61 ALLEGRO_KEY_MODIFIERS = 215 ALLEGRO_KEY_N = 14 ALLEGRO_KEY_NOCONVERT = 98 ALLEGRO_KEY_NUMLOCK = 225 ALLEGRO_KEY_O = 15 ALLEGRO_KEY_OPENBRACE = 65 ALLEGRO_KEY_P = 16 ALLEGRO_KEY_PAD_0 = 37 ALLEGRO_KEY_PAD_1 = 38 ALLEGRO_KEY_PAD_2 = 39 ALLEGRO_KEY_PAD_3 = 40 ALLEGRO_KEY_PAD_4 = 41 ALLEGRO_KEY_PAD_5 = 42 ALLEGRO_KEY_PAD_6 = 43 ALLEGRO_KEY_PAD_7 = 44 ALLEGRO_KEY_PAD_8 = 45 ALLEGRO_KEY_PAD_9 = 46 ALLEGRO_KEY_PAD_ASTERISK = 87 ALLEGRO_KEY_PAD_DELETE = 90 ALLEGRO_KEY_PAD_ENTER = 91 ALLEGRO_KEY_PAD_MINUS = 88 ALLEGRO_KEY_PAD_PLUS = 89 ALLEGRO_KEY_PAD_SLASH = 86 ALLEGRO_KEY_PAUSE = 93 ALLEGRO_KEY_PGDN = 81 ALLEGRO_KEY_PGUP = 80 ALLEGRO_KEY_PRINTSCREEN = 92 ALLEGRO_KEY_Q = 17 ALLEGRO_KEY_QUOTE = 69 ALLEGRO_KEY_R = 18 ALLEGRO_KEY_RCTRL = 218 ALLEGRO_KEY_RIGHT = 83 ALLEGRO_KEY_RSHIFT = 216 ALLEGRO_KEY_RWIN = 222 ALLEGRO_KEY_S = 19 ALLEGRO_KEY_SCROLLLOCK = 224 ALLEGRO_KEY_SEMICOLON = 68 ALLEGRO_KEY_SEMICOLON2 = 105 ALLEGRO_KEY_SLASH = 74 ALLEGRO_KEY_SPACE = 75 ALLEGRO_KEY_T = 20 ALLEGRO_KEY_TAB = 64 ALLEGRO_KEY_TILDE = 60 ALLEGRO_KEY_U = 21 ALLEGRO_KEY_UNKNOWN = 107 ALLEGRO_KEY_UP = 84 ALLEGRO_KEY_V = 22 ALLEGRO_KEY_W = 23 ALLEGRO_KEY_X = 24 ALLEGRO_KEY_Y = 25 ALLEGRO_KEY_YEN = 95 ALLEGRO_KEY_Z = 26 ALLEGRO_LAST_PATH = 8 ALLEGRO_MIXER_QUALITY_LINEAR = 273 ALLEGRO_MIXER_QUALITY_POINT = 272 ALLEGRO_NUM_PIXEL_FORMATS = 27 ALLEGRO_NUM_SYSTEM_MOUSE_CURSORS = 20 ALLEGRO_ONE = 1 ALLEGRO_PIXEL_FORMAT_ABGR_8888 = 17 ALLEGRO_PIXEL_FORMAT_ABGR_8888_LE = 25 ALLEGRO_PIXEL_FORMAT_ABGR_F32 = 24 ALLEGRO_PIXEL_FORMAT_ANY = 0 ALLEGRO_PIXEL_FORMAT_ANY_15_NO_ALPHA = 3 ALLEGRO_PIXEL_FORMAT_ANY_16_NO_ALPHA = 4 ALLEGRO_PIXEL_FORMAT_ANY_16_WITH_ALPHA = 5 ALLEGRO_PIXEL_FORMAT_ANY_24_NO_ALPHA = 6 ALLEGRO_PIXEL_FORMAT_ANY_32_NO_ALPHA = 7 ALLEGRO_PIXEL_FORMAT_ANY_32_WITH_ALPHA = 8 ALLEGRO_PIXEL_FORMAT_ANY_NO_ALPHA = 1 ALLEGRO_PIXEL_FORMAT_ANY_WITH_ALPHA = 2 ALLEGRO_PIXEL_FORMAT_ARGB_1555 = 16 ALLEGRO_PIXEL_FORMAT_ARGB_4444 = 11 ALLEGRO_PIXEL_FORMAT_ARGB_8888 = 9 ALLEGRO_PIXEL_FORMAT_BGR_555 = 21 ALLEGRO_PIXEL_FORMAT_BGR_565 = 20 ALLEGRO_PIXEL_FORMAT_BGR_888 = 19 ALLEGRO_PIXEL_FORMAT_RGBA_4444 = 26 ALLEGRO_PIXEL_FORMAT_RGBA_5551 = 15 ALLEGRO_PIXEL_FORMAT_RGBA_8888 = 10 ALLEGRO_PIXEL_FORMAT_RGBX_8888 = 22 ALLEGRO_PIXEL_FORMAT_RGB_555 = 14 ALLEGRO_PIXEL_FORMAT_RGB_565 = 13 ALLEGRO_PIXEL_FORMAT_RGB_888 = 12 ALLEGRO_PIXEL_FORMAT_XBGR_8888 = 18 ALLEGRO_PIXEL_FORMAT_XRGB_8888 = 23 ALLEGRO_PLAYMODE_BIDIR = 258 ALLEGRO_PLAYMODE_LOOP = 257 ALLEGRO_PLAYMODE_ONCE = 256 ALLEGRO_PRIM_ATTR_NUM = 5 ALLEGRO_PRIM_COLOR_ATTR = 2 ALLEGRO_PRIM_FLOAT_2 = 0 ALLEGRO_PRIM_FLOAT_3 = 1 ALLEGRO_PRIM_LINE_LIST = 0 ALLEGRO_PRIM_LINE_LOOP = 2 ALLEGRO_PRIM_LINE_STRIP = 1 ALLEGRO_PRIM_NUM_TYPES = 6 ALLEGRO_PRIM_POSITION = 1 ALLEGRO_PRIM_SHORT_2 = 2 ALLEGRO_PRIM_TEX_COORD = 3 ALLEGRO_PRIM_TEX_COORD_PIXEL = 4 ALLEGRO_PRIM_TRIANGLE_FAN = 5 ALLEGRO_PRIM_TRIANGLE_LIST = 3 ALLEGRO_PRIM_TRIANGLE_STRIP = 4 ALLEGRO_PROGRAM_PATH = 0 ALLEGRO_RED_SHIFT = 4 ALLEGRO_RED_SIZE = 0 ALLEGRO_RENDER_METHOD = 19 ALLEGRO_REQUIRE = 1 ALLEGRO_SAMPLES = 18 ALLEGRO_SAMPLE_BUFFERS = 17 ALLEGRO_SEEK_CUR = 1 ALLEGRO_SEEK_END = 2 ALLEGRO_SEEK_SET = 0 ALLEGRO_SINGLE_BUFFER = 22 ALLEGRO_STATE_ALL = 65535 ALLEGRO_STATE_BITMAP = 10 ALLEGRO_STATE_BLENDER = 16 ALLEGRO_STATE_DISPLAY = 4 ALLEGRO_STATE_NEW_BITMAP_PARAMETERS = 2 ALLEGRO_STATE_NEW_DISPLAY_PARAMETERS = 1 ALLEGRO_STATE_NEW_FILE_INTERFACE = 32 ALLEGRO_STATE_TARGET_BITMAP = 8 ALLEGRO_STENCIL_SIZE = 16 ALLEGRO_STEREO = 12 ALLEGRO_SUGGEST = 2 ALLEGRO_SWAP_METHOD = 23 ALLEGRO_SYSTEM_DATA_PATH = 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_ALT_SELECT = 18 ALLEGRO_SYSTEM_MOUSE_CURSOR_ARROW = 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_BUSY = 3 ALLEGRO_SYSTEM_MOUSE_CURSOR_DEFAULT = 1 ALLEGRO_SYSTEM_MOUSE_CURSOR_EDIT = 5 ALLEGRO_SYSTEM_MOUSE_CURSOR_LINK = 17 ALLEGRO_SYSTEM_MOUSE_CURSOR_MOVE = 6 ALLEGRO_SYSTEM_MOUSE_CURSOR_NONE = 0 ALLEGRO_SYSTEM_MOUSE_CURSOR_PRECISION = 16 ALLEGRO_SYSTEM_MOUSE_CURSOR_PROGRESS = 15 ALLEGRO_SYSTEM_MOUSE_CURSOR_QUESTION = 4 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_E = 10 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_N = 7 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_NE = 14 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_NW = 11 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_S = 9 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_SE = 13 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_SW = 12 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_W = 8 ALLEGRO_SYSTEM_MOUSE_CURSOR_UNAVAILABLE = 19 ALLEGRO_SYSTEM_SETTINGS_PATH = 6 ALLEGRO_TEMP_PATH = 1 ALLEGRO_UPDATE_DISPLAY_REGION = 25 ALLEGRO_USER_DATA_PATH = 3 ALLEGRO_USER_HOME_PATH = 4 ALLEGRO_USER_SETTINGS_PATH = 5 ALLEGRO_VSYNC = 26 ALLEGRO_ZERO = 0 _ALLEGRO_PLAYMODE_STREAM_ONCE = 259 _ALLEGRO_PLAYMODE_STREAM_ONEDIR = 260

</highlightSyntax>