/usr/lib/perl5/stfl.pm is in libstfl-perl 0.22-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.11
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
package stfl;
use base qw(Exporter);
use base qw(DynaLoader);
package stflc;
bootstrap stfl;
package stfl;
@EXPORT = qw();
# ---------- BASE METHODS -------------
package stfl;
sub TIEHASH {
my ($classname,$obj) = @_;
return bless $obj, $classname;
}
sub CLEAR { }
sub FIRSTKEY { }
sub NEXTKEY { }
sub FETCH {
my ($self,$field) = @_;
my $member_func = "swig_${field}_get";
$self->$member_func();
}
sub STORE {
my ($self,$field,$newval) = @_;
my $member_func = "swig_${field}_set";
$self->$member_func($newval);
}
sub this {
my $ptr = shift;
return tied(%$ptr);
}
# ------- FUNCTION WRAPPERS --------
package stfl;
*create = *stflc::create;
*run = *stflc::run;
*get = *stflc::get;
*set = *stflc::set;
*get_focus = *stflc::get_focus;
*set_focus = *stflc::set_focus;
*quote = *stflc::quote;
*dump = *stflc::dump;
*modify = *stflc::modify;
*lookup = *stflc::lookup;
*error = *stflc::error;
*error_action = *stflc::error_action;
*reset = *stflc::reset;
############# Class : stfl::stfl_form ##############
package stfl::stfl_form;
use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
@ISA = qw( stfl );
%OWNER = ();
%ITERATORS = ();
sub new {
my $pkg = shift;
my $self = stflc::new_stfl_form(@_);
bless $self, $pkg if defined($self);
}
sub DESTROY {
return unless $_[0]->isa('HASH');
my $self = tied(%{$_[0]});
return unless defined $self;
delete $ITERATORS{$self};
if (exists $OWNER{$self}) {
stflc::delete_stfl_form($self);
delete $OWNER{$self};
}
}
*run = *stflc::stfl_form_run;
*get = *stflc::stfl_form_get;
*set = *stflc::stfl_form_set;
*get_focus = *stflc::stfl_form_get_focus;
*set_focus = *stflc::stfl_form_set_focus;
*dump = *stflc::stfl_form_dump;
*modify = *stflc::stfl_form_modify;
*lookup = *stflc::stfl_form_lookup;
sub DISOWN {
my $self = shift;
my $ptr = tied(%$self);
delete $OWNER{$ptr};
}
sub ACQUIRE {
my $self = shift;
my $ptr = tied(%$self);
$OWNER{$ptr} = 1;
}
# ------- VARIABLE STUBS --------
package stfl;
1;
|