Sha256: bd46998d3d066a658de2cd9656ba32d2cf2b509d21eda6aa911ded23d0c9b016

Contents?: true

Size: 496 Bytes

Versions: 12

Compression:

Stored size: 496 Bytes

Contents

#!/bin/sh

(
   echo '#define VAR(name,decl) name'
   echo '#define EV_GENWRAP 1'
   cat ev_vars.h
) | cc -E -o - - | perl -ne '
   while (<>) {
      push @syms, $1 if /(^\w+)/;
   }
   print "/* DO NOT EDIT, automatically generated by update_ev_wrap */\n",
         "#ifndef EV_WRAP_H\n",
         "#define EV_WRAP_H\n",
         (map "#define $_ ((loop)->$_)\n", @syms),
         "#else\n",
         "#undef EV_WRAP_H\n",
         (map "#undef $_\n", @syms),
         "#endif\n";
' >ev_wrap.h

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
rednode-0.1.2 ext/node/deps/libev/update_ev_wrap
cool.io-0.9.0 ext/libev/update_ev_wrap
rednode-0.1.1 ext/node/deps/libev/update_ev_wrap
rednode-0.1.0 ext/node/deps/libev/update_ev_wrap
rev-0.3.2 ext/libev/update_ev_wrap
rev-0.3.1 ext/libev/update_ev_wrap
rev-0.3.0 ext/libev/update_ev_wrap
rev-0.2.0 ext/libev/update_ev_wrap
rev-0.2.4 ext/libev/update_ev_wrap
rev-0.2.3 ext/libev/update_ev_wrap
rev-0.2.2 ext/libev/update_ev_wrap
rev-0.2.1 ext/libev/update_ev_wrap