Change static string in header file to extern
- static will unnecessarily create and intialize a string in the data segment of each compiled cpp that includes it
This commit is contained in:
parent
5debe65fe1
commit
51611517de
2 changed files with 59 additions and 55 deletions
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include "wrap.h"
|
||||
|
||||
const char PYCAP_OBJECT_NAME[] = "llvm.wrap.h";
|
||||
|
||||
/*===----------------------------------------------------------------------===*/
|
||||
/* Type ctor/dtor */
|
||||
/*===----------------------------------------------------------------------===*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue