You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ch03.txt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -490,9 +490,9 @@ Remember this lesson:
490
490
491
491
++ Problem: update the version number
492
492
493
-
After such a lot of work we should release a new version. We defined the version number in our public header file, {{include/globdom.h}}. It should be simple to bump it:
493
+
After such a lot of work we should release a new version. We defined the version number in our public header file, {{include/globaldom.h}}. It should be simple to bump it:
494
494
495
-
* Edit {{include/globdom.h}} to say {{#define GLOBDOM_VERSION_MINOR 2}}
495
+
* Edit {{include/globaldom.h}} to say {{#define GLOBDOM_VERSION_MINOR 2}}
The reason is that our project header files are confused. We have a mix of hand-written files (the original {{include/globdom.h}}) and generated files doing the same thing. Take a look at {{include/gdom_library.h}} and you'll see it does the same (and more) as we did by hand.
510
+
The reason is that our project header files are confused. We have a mix of hand-written files (the original {{include/globaldom.h}}) and generated files doing the same thing. Take a look at {{include/gdom_library.h}} and you'll see it does the same (and more) as we did by hand.
511
511
512
512
//Solution: define the version and header in our project model.//
0 commit comments