1Imager::Regops(3) User Contributed Perl Documentation Imager::Regops(3)
2
3
4
6 Imager::Regops - generated information about the register based VM
7
9 use Imager::Regops;
10 $Imager::Regops::Attr{$opname}->{opcode} # opcode for given operator
11 $Imager::Regops::Attr{$opname}->{parms} # number of parameters
12 $Imager::Regops::Attr{$opname}->{types} # types of parameters
13 $Imager::Regops::Attr{$opname}->{func} # operator is a function
14 $Imager::Regops::Attr{$opname}->{result} # r for numeric, p for pixel result
15 $Imager::Regops::MaxOperands; # maximum number of operands
16
18 This module is generated automatically from regmach.h so we don't need
19 to maintain the same information in at least one extra place.
20
21 At least that's the idea.
22
24 Tony Cook, tony@develop-help.com
25
27 perl(1), Imager(3), http://imager.perl.org/
28
29
30
31perl v5.8.8 2008-03-28 Imager::Regops(3)