24 lines
512 B
Perl
24 lines
512 B
Perl
|
package comcat;
|
||
|
|
||
|
use strict;
|
||
|
|
||
|
require Exporter;
|
||
|
|
||
|
use wine;
|
||
|
use vars qw(@ISA @EXPORT @EXPORT_OK);
|
||
|
|
||
|
@ISA = qw(Exporter);
|
||
|
@EXPORT = qw();
|
||
|
@EXPORT_OK = qw();
|
||
|
|
||
|
my $module_declarations = {
|
||
|
"DllCanUnloadNow" => ["long", ["undef"]],
|
||
|
"DllGetClassObject" => ["long", ["ptr", "ptr", "ptr"]],
|
||
|
"DllRegisterServer" => ["long", ["undef"]],
|
||
|
"DllUnregisterServer" => ["long", ["undef"]]
|
||
|
};
|
||
|
|
||
|
&wine::declare("comcat",%$module_declarations);
|
||
|
push @EXPORT, map { "&" . $_; } sort(keys(%$module_declarations));
|
||
|
1;
|