rice 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. data/Doxyfile +1 -1
  2. data/Makefile.in +130 -52
  3. data/README +45 -79
  4. data/Rakefile +1 -36
  5. data/aclocal.m4 +133 -61
  6. data/config.guess +43 -8
  7. data/config.sub +41 -13
  8. data/configure +1370 -1898
  9. data/configure.ac +2 -2
  10. data/doxygen.ac +1 -1
  11. data/extconf.rb +3 -1
  12. data/rice/Arg_impl.hpp +2 -2
  13. data/rice/Data_Type.cpp +34 -1
  14. data/rice/Data_Type.ipp +14 -5
  15. data/rice/Data_Type_defn.hpp +28 -1
  16. data/rice/Director.cpp +0 -6
  17. data/rice/Director.hpp +0 -8
  18. data/rice/Hash.hpp +1 -1
  19. data/rice/Makefile.am +2 -12
  20. data/rice/Makefile.in +111 -88
  21. data/rice/Object.cpp +8 -1
  22. data/rice/Object.ipp +1 -1
  23. data/rice/Object_defn.hpp +8 -0
  24. data/rice/config.hpp +3 -0
  25. data/rice/config.hpp.in +3 -0
  26. data/rice/detail/Auto_Function_Wrapper.ipp +1025 -512
  27. data/rice/detail/Auto_Member_Function_Wrapper.ipp +545 -272
  28. data/rice/detail/cfp.hpp +24 -0
  29. data/rice/detail/cfp.ipp +51 -0
  30. data/rice/detail/method_data.cpp +107 -336
  31. data/rice/detail/node.hpp +13 -13
  32. data/rice/detail/ruby.hpp +4 -0
  33. data/rice/detail/rubysig.hpp +19 -19
  34. data/rice/detail/traits.hpp +43 -0
  35. data/rice/generate_code.rb +37 -16
  36. data/rice/protect.hpp +1 -1
  37. data/rice/protect.ipp +448 -192
  38. data/rice/to_from_ruby.ipp +4 -12
  39. data/rice/to_from_ruby_defn.hpp +2 -2
  40. data/ruby/Makefile.in +99 -32
  41. data/ruby/lib/Makefile.in +61 -21
  42. data/ruby/lib/mkmf-rice.rb.in +9 -2
  43. data/ruby/lib/version.rb +1 -1
  44. data/sample/Makefile.in +33 -10
  45. data/test/Makefile.am +27 -0
  46. data/test/Makefile.in +270 -59
  47. data/test/ext/Makefile.am +43 -0
  48. data/test/ext/Makefile.in +399 -0
  49. data/test/ext/t1/Foo.hpp +10 -0
  50. data/test/ext/t1/extconf.rb +2 -0
  51. data/test/ext/t1/t1.cpp +15 -0
  52. data/test/ext/t2/extconf.rb +2 -0
  53. data/test/ext/t2/t2.cpp +11 -0
  54. data/test/test_Allocation_Strategies.cpp +1 -1
  55. data/test/test_Class.cpp +79 -0
  56. data/test/test_Data_Type.cpp +2 -2
  57. data/test/test_Director.cpp +114 -38
  58. data/test/test_Module.cpp +27 -2
  59. data/test/test_To_From_Ruby.cpp +4 -4
  60. data/test/test_rice.rb +9 -1
  61. metadata +23 -8
  62. data/rice/detail/method_data.cpp.rpp +0 -301
  63. data/rice/detail/mininode.cpp.rpp +0 -62
  64. data/rice/detail/mininode.hpp.rpp +0 -119
  65. data/rice/detail/remove_const.hpp +0 -21
@@ -0,0 +1,43 @@
1
+ RUBY_EXTCONF_OPTIONS = -I@RICE_ROOT@/ruby/lib
2
+ EXTCONF_OPTIONS = --with-cppflags="-I@RICE_ROOT@" --with-libpath="@RICE_ROOT@/rice"
3
+
4
+ EXTRA_DIST = \
5
+ t1/extconf.rb \
6
+ t1/t1.cpp \
7
+ t2/extconf.rb \
8
+ t2/t2.cpp
9
+
10
+ all:
11
+
12
+ t1/Makefile: t1/extconf.rb ../../config.status ../../ruby/lib/mkmf-rice.rb
13
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C t1 extconf.rb $(EXTCONF_OPTIONS)
14
+
15
+ t2/Makefile: t2/extconf.rb ../../config.status ../../ruby/lib/mkmf-rice.rb
16
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C t2 extconf.rb $(EXTCONF_OPTIONS)
17
+
18
+ all clean distclean: t1/Makefile t2/Makefile
19
+
20
+ all: t1_all t2_all
21
+
22
+ t1_all:
23
+ make -C t1 all
24
+
25
+ t2_all:
26
+ make -C t2 all
27
+
28
+ clean: t1_clean t2_clean
29
+
30
+ t1_clean:
31
+ make -C t1 clean
32
+
33
+ t2_clean:
34
+ make -C t2 clean
35
+
36
+ distclean: t1_distclean t2_distclean
37
+
38
+ t1_distclean:
39
+ make -C t1 distclean
40
+
41
+ t2_distclean:
42
+ make -C t2 distclean
43
+
@@ -0,0 +1,399 @@
1
+ # Makefile.in generated by automake 1.11 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6
+ # Inc.
7
+ # This Makefile.in is free software; the Free Software Foundation
8
+ # gives unlimited permission to copy and/or distribute it,
9
+ # with or without modifications, as long as this notice is preserved.
10
+
11
+ # This program is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
+ # PARTICULAR PURPOSE.
15
+
16
+ @SET_MAKE@
17
+ VPATH = @srcdir@
18
+ pkgdatadir = $(datadir)/@PACKAGE@
19
+ pkgincludedir = $(includedir)/@PACKAGE@
20
+ pkglibdir = $(libdir)/@PACKAGE@
21
+ pkglibexecdir = $(libexecdir)/@PACKAGE@
22
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23
+ install_sh_DATA = $(install_sh) -c -m 644
24
+ install_sh_PROGRAM = $(install_sh) -c
25
+ install_sh_SCRIPT = $(install_sh) -c
26
+ INSTALL_HEADER = $(INSTALL_DATA)
27
+ transform = $(program_transform_name)
28
+ NORMAL_INSTALL = :
29
+ PRE_INSTALL = :
30
+ POST_INSTALL = :
31
+ NORMAL_UNINSTALL = :
32
+ PRE_UNINSTALL = :
33
+ POST_UNINSTALL = :
34
+ build_triplet = @build@
35
+ host_triplet = @host@
36
+ subdir = test/ext
37
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
38
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39
+ am__aclocal_m4_deps = $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
40
+ $(top_srcdir)/configure.ac
41
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42
+ $(ACLOCAL_M4)
43
+ mkinstalldirs = $(install_sh) -d
44
+ CONFIG_HEADER = $(top_builddir)/rice/config.hpp
45
+ CONFIG_CLEAN_FILES =
46
+ CONFIG_CLEAN_VPATH_FILES =
47
+ SOURCES =
48
+ DIST_SOURCES =
49
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
50
+ ACLOCAL = @ACLOCAL@
51
+ AMTAR = @AMTAR@
52
+ AUTOCONF = @AUTOCONF@
53
+ AUTOHEADER = @AUTOHEADER@
54
+ AUTOMAKE = @AUTOMAKE@
55
+ AWK = @AWK@
56
+ CPPFLAGS = @CPPFLAGS@
57
+ CXX = @CXX@
58
+ CXXDEPMODE = @CXXDEPMODE@
59
+ CXXFLAGS = @CXXFLAGS@
60
+ CYGPATH_W = @CYGPATH_W@
61
+ DEFS = @DEFS@
62
+ DEPDIR = @DEPDIR@
63
+ DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
64
+ DX_CONFIG = @DX_CONFIG@
65
+ DX_DOCDIR = @DX_DOCDIR@
66
+ DX_DOT = @DX_DOT@
67
+ DX_DOXYGEN = @DX_DOXYGEN@
68
+ DX_DVIPS = @DX_DVIPS@
69
+ DX_EGREP = @DX_EGREP@
70
+ DX_ENV = @DX_ENV@
71
+ DX_FLAG_chi = @DX_FLAG_chi@
72
+ DX_FLAG_chm = @DX_FLAG_chm@
73
+ DX_FLAG_doc = @DX_FLAG_doc@
74
+ DX_FLAG_dot = @DX_FLAG_dot@
75
+ DX_FLAG_html = @DX_FLAG_html@
76
+ DX_FLAG_man = @DX_FLAG_man@
77
+ DX_FLAG_pdf = @DX_FLAG_pdf@
78
+ DX_FLAG_ps = @DX_FLAG_ps@
79
+ DX_FLAG_rtf = @DX_FLAG_rtf@
80
+ DX_FLAG_xml = @DX_FLAG_xml@
81
+ DX_HHC = @DX_HHC@
82
+ DX_LATEX = @DX_LATEX@
83
+ DX_MAKEINDEX = @DX_MAKEINDEX@
84
+ DX_PDFLATEX = @DX_PDFLATEX@
85
+ DX_PERL = @DX_PERL@
86
+ DX_PROJECT = @DX_PROJECT@
87
+ ECHO_C = @ECHO_C@
88
+ ECHO_N = @ECHO_N@
89
+ ECHO_T = @ECHO_T@
90
+ EXEEXT = @EXEEXT@
91
+ INSTALL = @INSTALL@
92
+ INSTALL_DATA = @INSTALL_DATA@
93
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
94
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
95
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
96
+ LDFLAGS = @LDFLAGS@
97
+ LIBOBJS = @LIBOBJS@
98
+ LIBS = @LIBS@
99
+ LTLIBOBJS = @LTLIBOBJS@
100
+ MAKEINFO = @MAKEINFO@
101
+ MKDIR_P = @MKDIR_P@
102
+ OBJEXT = @OBJEXT@
103
+ PACKAGE = @PACKAGE@
104
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
105
+ PACKAGE_NAME = @PACKAGE_NAME@
106
+ PACKAGE_STRING = @PACKAGE_STRING@
107
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
108
+ PACKAGE_URL = @PACKAGE_URL@
109
+ PACKAGE_VERSION = @PACKAGE_VERSION@
110
+ PATH_SEPARATOR = @PATH_SEPARATOR@
111
+ RANLIB = @RANLIB@
112
+ RICE_CPPFLAGS = @RICE_CPPFLAGS@
113
+ RICE_LDFLAGS = @RICE_LDFLAGS@
114
+ RICE_ROOT = @RICE_ROOT@
115
+ RICE_SAMPLES = @RICE_SAMPLES@
116
+ RICE_USING_MINGW32 = @RICE_USING_MINGW32@
117
+ RUBY = @RUBY@
118
+ RUBY_CFLAGS = @RUBY_CFLAGS@
119
+ RUBY_CPPFLAGS = @RUBY_CPPFLAGS@
120
+ RUBY_CXXFLAGS = @RUBY_CXXFLAGS@
121
+ RUBY_LDFLAGS = @RUBY_LDFLAGS@
122
+ RUBY_LIBRUBYARG = @RUBY_LIBRUBYARG@
123
+ RUBY_LIBRUBYARG_STATIC = @RUBY_LIBRUBYARG_STATIC@
124
+ RUBY_LIBS = @RUBY_LIBS@
125
+ RUBY_SITELIBDIR = @RUBY_SITELIBDIR@
126
+ RUBY_VERSION_CODE = @RUBY_VERSION_CODE@
127
+ SET_MAKE = @SET_MAKE@
128
+ SHELL = @SHELL@
129
+ STRIP = @STRIP@
130
+ VERSION = @VERSION@
131
+ abs_builddir = @abs_builddir@
132
+ abs_srcdir = @abs_srcdir@
133
+ abs_top_builddir = @abs_top_builddir@
134
+ abs_top_srcdir = @abs_top_srcdir@
135
+ ac_ct_CXX = @ac_ct_CXX@
136
+ am__include = @am__include@
137
+ am__leading_dot = @am__leading_dot@
138
+ am__quote = @am__quote@
139
+ am__tar = @am__tar@
140
+ am__untar = @am__untar@
141
+ bindir = @bindir@
142
+ build = @build@
143
+ build_alias = @build_alias@
144
+ build_cpu = @build_cpu@
145
+ build_os = @build_os@
146
+ build_vendor = @build_vendor@
147
+ builddir = @builddir@
148
+ datadir = @datadir@
149
+ datarootdir = @datarootdir@
150
+ docdir = @docdir@
151
+ dvidir = @dvidir@
152
+ exec_prefix = @exec_prefix@
153
+ host = @host@
154
+ host_alias = @host_alias@
155
+ host_cpu = @host_cpu@
156
+ host_os = @host_os@
157
+ host_vendor = @host_vendor@
158
+ htmldir = @htmldir@
159
+ includedir = @includedir@
160
+ infodir = @infodir@
161
+ install_sh = @install_sh@
162
+ libdir = @libdir@
163
+ libexecdir = @libexecdir@
164
+ localedir = @localedir@
165
+ localstatedir = @localstatedir@
166
+ mandir = @mandir@
167
+ mkdir_p = @mkdir_p@
168
+ oldincludedir = @oldincludedir@
169
+ pdfdir = @pdfdir@
170
+ prefix = @prefix@
171
+ program_transform_name = @program_transform_name@
172
+ psdir = @psdir@
173
+ sbindir = @sbindir@
174
+ sharedstatedir = @sharedstatedir@
175
+ srcdir = @srcdir@
176
+ sysconfdir = @sysconfdir@
177
+ target_alias = @target_alias@
178
+ top_build_prefix = @top_build_prefix@
179
+ top_builddir = @top_builddir@
180
+ top_srcdir = @top_srcdir@
181
+ RUBY_EXTCONF_OPTIONS = -I@RICE_ROOT@/ruby/lib
182
+ EXTCONF_OPTIONS = --with-cppflags="-I@RICE_ROOT@" --with-libpath="@RICE_ROOT@/rice"
183
+ EXTRA_DIST = \
184
+ t1/extconf.rb \
185
+ t1/t1.cpp \
186
+ t2/extconf.rb \
187
+ t2/t2.cpp
188
+
189
+ all: all-am
190
+
191
+ .SUFFIXES:
192
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
193
+ @for dep in $?; do \
194
+ case '$(am__configure_deps)' in \
195
+ *$$dep*) \
196
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
197
+ && { if test -f $@; then exit 0; else break; fi; }; \
198
+ exit 1;; \
199
+ esac; \
200
+ done; \
201
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/ext/Makefile'; \
202
+ $(am__cd) $(top_srcdir) && \
203
+ $(AUTOMAKE) --gnu test/ext/Makefile
204
+ .PRECIOUS: Makefile
205
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
206
+ @case '$?' in \
207
+ *config.status*) \
208
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
209
+ *) \
210
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
211
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
212
+ esac;
213
+
214
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
215
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
216
+
217
+ $(top_srcdir)/configure: $(am__configure_deps)
218
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
219
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
220
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
221
+ $(am__aclocal_m4_deps):
222
+ tags: TAGS
223
+ TAGS:
224
+
225
+ ctags: CTAGS
226
+ CTAGS:
227
+
228
+
229
+ distdir: $(DISTFILES)
230
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
231
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
232
+ list='$(DISTFILES)'; \
233
+ dist_files=`for file in $$list; do echo $$file; done | \
234
+ sed -e "s|^$$srcdirstrip/||;t" \
235
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
236
+ case $$dist_files in \
237
+ */*) eval $(MKDIR_P) `echo "$$dist_files" | \
238
+ sed '/\//!d;s|^|"$(distdir)"/|;s,/[^/]*$$,,' | \
239
+ sort -u` ;; \
240
+ esac; \
241
+ for file in $$dist_files; do \
242
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
243
+ if test -d $$d/$$file; then \
244
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
245
+ if test -d "$(distdir)/$$file"; then \
246
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
247
+ fi; \
248
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
249
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
250
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
251
+ fi; \
252
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
253
+ else \
254
+ test -f "$(distdir)/$$file" \
255
+ || cp -p $$d/$$file "$(distdir)/$$file" \
256
+ || exit 1; \
257
+ fi; \
258
+ done
259
+ check-am: all-am
260
+ check: check-am
261
+ all-am: Makefile
262
+ installdirs:
263
+ install: install-am
264
+ install-exec: install-exec-am
265
+ install-data: install-data-am
266
+ uninstall: uninstall-am
267
+
268
+ install-am: all-am
269
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
270
+
271
+ installcheck: installcheck-am
272
+ install-strip:
273
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
274
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
275
+ `test -z '$(STRIP)' || \
276
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
277
+ mostlyclean-generic:
278
+
279
+ clean-generic:
280
+
281
+ distclean-generic:
282
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
283
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
284
+
285
+ maintainer-clean-generic:
286
+ @echo "This command is intended for maintainers to use"
287
+ @echo "it deletes files that may require special tools to rebuild."
288
+ clean-am: clean-generic mostlyclean-am
289
+
290
+ distclean-am: clean-am distclean-generic
291
+
292
+ dvi: dvi-am
293
+
294
+ dvi-am:
295
+
296
+ html: html-am
297
+
298
+ html-am:
299
+
300
+ info: info-am
301
+
302
+ info-am:
303
+
304
+ install-data-am:
305
+
306
+ install-dvi: install-dvi-am
307
+
308
+ install-dvi-am:
309
+
310
+ install-exec-am:
311
+
312
+ install-html: install-html-am
313
+
314
+ install-html-am:
315
+
316
+ install-info: install-info-am
317
+
318
+ install-info-am:
319
+
320
+ install-man:
321
+
322
+ install-pdf: install-pdf-am
323
+
324
+ install-pdf-am:
325
+
326
+ install-ps: install-ps-am
327
+
328
+ install-ps-am:
329
+
330
+ installcheck-am:
331
+
332
+ maintainer-clean: maintainer-clean-am
333
+ -rm -f Makefile
334
+ maintainer-clean-am: distclean-am maintainer-clean-generic
335
+
336
+ mostlyclean: mostlyclean-am
337
+
338
+ mostlyclean-am: mostlyclean-generic
339
+
340
+ pdf: pdf-am
341
+
342
+ pdf-am:
343
+
344
+ ps: ps-am
345
+
346
+ ps-am:
347
+
348
+ uninstall-am:
349
+
350
+ .MAKE: install-am install-strip
351
+
352
+ .PHONY: all all-am check check-am clean clean-generic distclean \
353
+ distclean-generic distdir dvi dvi-am html html-am info info-am \
354
+ install install-am install-data install-data-am install-dvi \
355
+ install-dvi-am install-exec install-exec-am install-html \
356
+ install-html-am install-info install-info-am install-man \
357
+ install-pdf install-pdf-am install-ps install-ps-am \
358
+ install-strip installcheck installcheck-am installdirs \
359
+ maintainer-clean maintainer-clean-generic mostlyclean \
360
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
361
+
362
+
363
+ all:
364
+
365
+ t1/Makefile: t1/extconf.rb ../../config.status ../../ruby/lib/mkmf-rice.rb
366
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C t1 extconf.rb $(EXTCONF_OPTIONS)
367
+
368
+ t2/Makefile: t2/extconf.rb ../../config.status ../../ruby/lib/mkmf-rice.rb
369
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C t2 extconf.rb $(EXTCONF_OPTIONS)
370
+
371
+ all clean distclean: t1/Makefile t2/Makefile
372
+
373
+ all: t1_all t2_all
374
+
375
+ t1_all:
376
+ make -C t1 all
377
+
378
+ t2_all:
379
+ make -C t2 all
380
+
381
+ clean: t1_clean t2_clean
382
+
383
+ t1_clean:
384
+ make -C t1 clean
385
+
386
+ t2_clean:
387
+ make -C t2 clean
388
+
389
+ distclean: t1_distclean t2_distclean
390
+
391
+ t1_distclean:
392
+ make -C t1 distclean
393
+
394
+ t2_distclean:
395
+ make -C t2 distclean
396
+
397
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
398
+ # Otherwise a system limit (for SysV at least) may be exceeded.
399
+ .NOEXPORT:
@@ -0,0 +1,10 @@
1
+ #ifndef T1__FOO__HPP_
2
+ #define T1__FOO__HPP_
3
+
4
+ class Foo
5
+ {
6
+ public:
7
+ int foo() { return 42; }
8
+ };
9
+
10
+ #endif // T1__FOO__HPP_