Sha256: 9feda7c7435a4e62fdbdaee81b0935897bd246ada965fa27e6dc71075b056e03

Contents?: true

Size: 739 Bytes

Versions: 58

Compression:

Stored size: 739 Bytes

Contents

#!/usr/bin/perl -w
#
# Boost.Function library
#
# Copyright Douglas Gregor 2001-2003. Use, modification and
# distribution is subject to the Boost Software License, Version
# 1.0. (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
# For more information, see http://www.boost.org
use English;

if ($#ARGV < 0) {
  print "Usage: perl gen_function_N <number of arguments>\n";
  exit;
}


$totalNumArgs = $ARGV[0];
for ($numArgs = 0; $numArgs <= $totalNumArgs; ++$numArgs) {
  open OUT, ">function$numArgs.hpp";
  print OUT "#define BOOST_FUNCTION_NUM_ARGS $numArgs\n";
  print OUT "#include <boost/function/detail/maybe_include.hpp>\n";
  print OUT "#undef BOOST_FUNCTION_NUM_ARGS\n";
  close OUT;
}

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl