| 1 | 2 | package Termbox::Event 0.12 { | |
| 2 | 2 | ▶ | use 5.020; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use strictures 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | # | ||
| 6 | 2 | ▶ | use FFI::Platypus::Record; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | record_layout_1( | |
| 8 | qw[ | ||
| 9 | uint8_t type | ||
| 10 | uint8_t mod | ||
| 11 | uint16_t key | ||
| 12 | uint32_t ch | ||
| 13 | int32_t w | ||
| 14 | int32_t h | ||
| 15 | int32_t x | ||
| 16 | int32_t y | ||
| 17 | ] | ||
| 18 | ); | ||
| 19 | } | ||
| 20 | 2 | 1; | |
| 21 | __END__ | ||