Patch to quicly find the file in which an API is implemented

Vincent Béron vberon at mecano.gme.usherb.ca
Fri May 31 19:55:13 CDT 2002


After using too much grep to find where a specific API is implemented
(especially for kernel32), here's my solution.

Changelog:
 - Enhances tools/findfunc to also show in which file the function is
actually implemented, as well as the header in which it is defined.

Vincent
-------------- next part --------------
--- wine-orig/tools/findfunc	Fri Oct 13 19:06:40 2000
+++ wine/tools/findfunc	Fri May 31 20:49:42 2002
@@ -8,6 +8,7 @@
 while [ "$name" != "" ]
 do
     find $(dirname $0)/../ -name \*.spec | xargs -l1024 grep -i $name
+    find $(dirname $0)/../ -name \*.[ch] | xargs grep -i "WINAPI[[:space:]]\+$name"
     echo -n 'Function: '
     read name
 done


More information about the wine-patches mailing list