diff --git a/documentation/users-guide/AddingaClass.md b/documentation/users-guide/AddingaClass.md index d67926c734919b6f007e6ff58c2546ca0733dbc0..d9892ba4ac2953c543d148c553f9e76c9584b39a 100644 --- a/documentation/users-guide/AddingaClass.md +++ b/documentation/users-guide/AddingaClass.md @@ -764,7 +764,7 @@ typedefs seen so far by Cling. Example: ``` {.cpp} // some C++ header definition -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ // turns off dictionary generation for all #pragma link off all class; #pragma link off all function; @@ -802,7 +802,7 @@ identical. Example: ``` {.cpp} // some C++ header definition -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link off all class; #pragma link C++ class A; #pragma link C++ class B; @@ -825,7 +825,7 @@ Example: ``` {.cpp} // some C/C++ header definition -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link off all global; #pragma link off all typedef; #pragma link C++ global a; @@ -844,7 +844,7 @@ Example: ``` {.cpp} // some C/C++ header definition -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link off all global; #pragma link off all typedef; #pragma link C++ global a; @@ -892,7 +892,7 @@ class A { The pragma statements are: ``` {.cpp} -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link off all functions; #pragma link C++ function f; #pragma link C++ function g(int,double); @@ -923,7 +923,7 @@ template<class T> class A { And generate dictionary for that: ``` {.cpp} -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link C++ class A<int>; #endif ``` @@ -944,7 +944,7 @@ You can generate dictionary for the newly instantiated template member function only. ``` {.cpp} -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link off defined_in A.h; #pragma link C++ function A<int>::f(B&); #endif @@ -960,7 +960,7 @@ functions in all classes. Example: ``` {.cpp} -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link off all methods; #endif ``` @@ -977,7 +977,7 @@ At this moment, there should be no needs to use those statements. Example: ``` {.cpp} -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link off all_function A; #pragma link off all_datamember A; #endif @@ -1001,7 +1001,7 @@ Example: // file2.h -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link off all classes; #pragma link off all functions; #pragma link off all globals; @@ -1041,7 +1041,7 @@ namespace ns { The pragma statements are: ``` {.cpp} -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link C++ defined_in ns; #pragma link C++ nestedclass; #endif @@ -1077,7 +1077,7 @@ explicitly in the ROOT `LinkDef.h` file the next statement: From 5.15.57, you can omit them. Example: ``` {.cpp} -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link default off; #endif @@ -1091,7 +1091,7 @@ class B { double e; }; -#ifdef __MAKECINT__ +#ifdef __MAKECLING__ #pragma link C++ class A; // only class A is linked, not B #endif ``` diff --git a/documentation/users-guide/Cling.md b/documentation/users-guide/Cling.md index 06223d184d5ebae55573acf15b8e5ad6ad1cc2b7..2e46b3b927fbfcd6665cf78e7e3ede9d4a14fed8 100644 --- a/documentation/users-guide/Cling.md +++ b/documentation/users-guide/Cling.md @@ -579,7 +579,7 @@ the Cling limitations, you can use the C preprocessor symbols defined for Cling and `rootcling`. The preprocessor symbol `__CLING__` is defined for both ROOT and -`rootcling`. The symbol `__MAKECLING__` (and `__MAKECINT__` for backward +`rootcling`. The symbol `__MAKECLING__` (and `__MAKECLING__` for backward compatibility) is only defined in `rootcling`. Use `!defined(__CLING__) || defined(__MAKECLING__)` to bracket code that