#ifdef __CINT__

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ class TPython;

#endif

#ifdef __CINT__

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ function TPython::Exec;
#pragma link C++ function TPython::Eval;
#pragma link C++ function TPython::Bind;
#pragma link C++ function TPython::Prompt;

#endif

--- 
+++ 
@@ -4,9 +4,6 @@
 #pragma link off all classes;
 #pragma link off all functions;
 
-#pragma link C++ function TPython::Exec;
-#pragma link C++ function TPython::Eval;
-#pragma link C++ function TPython::Bind;
-#pragma link C++ function TPython::Prompt;
+#pragma link C++ class TPython;
 
 #endif
Declare the class TPython instead of the static functions.
With this change, make map will add TPython in system.rootmap
and it is possible to do directly
root > TPython::Prompt()


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@9107 27541ba8-7e3a-0410-8455-c3a389f83636
