Skip to content

Instantly share code, notes, and snippets.

@petrstepanov
Last active February 19, 2020 05:28
Show Gist options
  • Save petrstepanov/14f4526ab37aee68e1a87640b54ed5cf to your computer and use it in GitHub Desktop.
Save petrstepanov/14f4526ab37aee68e1a87640b54ed5cf to your computer and use it in GitHub Desktop.
// All Linkdef.h files start with this preamble
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ nestedclasses;
// List all your classes that require Dictionary generation:
#pragma link C++ class MyClassWithClassImpMarco1
#pragma link C++ class MyClassWithClassImpMarco2
// ...
#pragma link C++ class MyClassInheritedFromTQObject1;
#pragma link C++ class MyClassInheritedFromTQObject2;
// ...
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment