| 1 | package SDL2::atomic_t { | ||
| 2 | use SDL2::Utils; | ||
| 3 | has value => 'int'; | ||
| 4 | |||
| 5 | =encoding utf-8 | ||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | SDL2::atomic_t - A type representing an atomic integer value | ||
| 10 | |||
| 11 | =head1 SYNOPSIS | ||
| 12 | |||
| 13 | use SDL2 qw[:all]; | ||
| 14 | |||
| 15 | =head1 DESCRIPTION | ||
| 16 | |||
| 17 | SDL2::atomic_t is a struct so people don't accidentally use numeric operations | ||
| 18 | on it. | ||
| 19 | |||
| 20 | =head1 Fields | ||
| 21 | |||
| 22 | =over | ||
| 23 | |||
| 24 | =item C<value> | ||
| 25 | |||
| 26 | =back | ||
| 27 | |||
| 28 | |||
| 29 | =head1 AUTHOR | ||
| 30 | |||
| 31 | Sanko Robinson E<lt>sanko@cpan.orgE<gt> | ||
| 32 | |||
| 33 | =begin stopwords | ||
| 34 | |||
| 35 | struct | ||
| 36 | |||
| 37 | =end stopwords | ||
| 38 | |||
| 39 | =cut | ||
| 40 | |||
| 41 | }; | ||
| 42 | 1 |