Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename fractiondb.gen.cpp -> fractiondb.gen.inl

  • Loading branch information...
commit 147a2d2ca9a0b66eb74bb389d8054dbaed28d196 1 parent f2091f4
@Mortal Mortal authored
View
6 doc/code/fractiondb.inl
@@ -2,17 +2,17 @@
// initialize tpie subsystems and begin tracking progress
tpie_init(ALL | CAPTURE_FRACTIONS);
- load_fractions("fractiondb.gen.cpp");
+ load_fractions("fractiondb.gen.inl");
go();
- save_fractions("fractiondb.gen.cpp");
+ save_fractions("fractiondb.gen.inl");
tpie_finish(ALL | CAPTURE_FRACTIONS);
#else
tpie_init();
-#include "fractiondb.gen.cpp"
+#include "fractiondb.gen.inl"
go();
View
2  doc/fractiondb.dox.in
@@ -11,7 +11,7 @@ auxiliary file.
If \c helloworld is compiled without the \c NO_FRACTION_STATS define, upon
exiting, the program will write the fraction database to a file named
-\c fractiondb.gen.cpp. When compiled with the \c NO_FRACTION_STATS define, this
+\c fractiondb.gen.inl. When compiled with the \c NO_FRACTION_STATS define, this
file is included in the source code.
The following example is from the \c main function in \c helloworld.cpp.
View
6 example/helloworld.cpp
@@ -117,18 +117,18 @@ int main(int argc, char ** argv) {
// initialize tpie subsystems (memory manager, job manager for parallel sorting,
// prime database, progress database, default logger)
tpie_init();
-#include "fractiondb.gen.cpp"
+#include "fractiondb.gen.inl"
#else
// initialize tpie subsystems and begin tracking progress
tpie_init(ALL | CAPTURE_FRACTIONS);
- load_fractions("fractiondb.gen.cpp");
+ load_fractions("fractiondb.gen.inl");
#endif
go();
#ifndef NO_FRACTION_STATS
- save_fractions("fractiondb.gen.cpp");
+ save_fractions("fractiondb.gen.inl");
tpie_finish(ALL | CAPTURE_FRACTIONS);
#else
tpie_finish();
Please sign in to comment.
Something went wrong with that request. Please try again.