PageRenderTime 25ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/SDL/GFX/Primitives.pm

http://github.com/PerlGameDev/SDL
Perl | 24 lines | 19 code | 5 blank | 0 comment | 0 complexity | 9514f90267065dbbbb1efd84a439c514 MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0
  1. package SDL::GFX::Primitives;
  2. use strict;
  3. use warnings;
  4. use vars qw(@ISA @EXPORT @EXPORT_OK);
  5. require Exporter;
  6. require DynaLoader;
  7. use SDL::Constants ':SDL::GFX';
  8. our @ISA = qw(Exporter DynaLoader);
  9. use SDL::Internal::Loader;
  10. internal_load_dlls(__PACKAGE__);
  11. our $VERSION = 2.548;
  12. bootstrap SDL::GFX::Primitives;
  13. use base 'Exporter';
  14. our @EXPORT = @{ $SDL::Constants::EXPORT_TAGS{'SDL::GFX'} };
  15. our %EXPORT_TAGS = (
  16. all => \@EXPORT,
  17. init => $SDL::Constants::EXPORT_TAGS{'SDL::GFX/init'}
  18. );
  19. 1;