Commit 37f2c376 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Don't bother with declare, just 'use kernel32'.

parent 80b72db3
......@@ -20,19 +20,7 @@
use wine;
use winerror;
################################################################
# Declarations for functions we use in this script
wine::declare( "kernel32",
GlobalAddAtomA => ["word", ["str"]],
GlobalAddAtomW => ["word", ["wstr"]],
GlobalFindAtomA => ["word", ["str"]],
GlobalFindAtomW => ["word", ["wstr"]],
GlobalDeleteAtom => ["word", ["word"]],
GlobalGetAtomNameA => ["int", ["word","ptr","int"]],
GlobalGetAtomNameW => ["int", ["word","ptr","int"]],
);
use kernel32;
my $name = "foobar";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment