ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/update_ev_wrap
Revision: 1.1
Committed: Sun Nov 4 00:24:17 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-0_51, rel-0_7, rel-0_5, rel-0_8, rel-0_9, rel-0_6
Log Message:
wow the event api is broken

File Contents

# User Rev Content
1 root 1.1 #!/bin/sh
2    
3     (
4     echo '#define VAR(name,decl) define name ((loop)->name)'
5     echo '#define EV_GENWRAP 1'
6     cat ev_vars.h
7     ) | cc -E -o - - | sed -e 's/define/#define/' | grep '#define' | (
8     echo "/* DO NOT EDIT, automaticlaly generated by update_ev_wrap */"
9     cat
10     ) | tee ev_wrap.h