mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
dconfig: Change export macros to EXP*_DTOOL_DCONFIG
This is for consistency with `panda`, which follows this format.
This commit is contained in:
parent
775fcb5b0b
commit
9739923593
@ -23,7 +23,7 @@
|
||||
#include "dtoolbase.h"
|
||||
#include "notifyCategoryProxy.h"
|
||||
|
||||
NotifyCategoryDecl(dconfig, EXPCL_DTOOLCONFIG, EXPTP_DTOOLCONFIG);
|
||||
NotifyCategoryDecl(microconfig, EXPCL_DTOOLCONFIG, EXPTP_DTOOLCONFIG);
|
||||
NotifyCategoryDecl(dconfig, EXPCL_DTOOL_DCONFIG, EXPTP_DTOOL_DCONFIG);
|
||||
NotifyCategoryDecl(microconfig, EXPCL_DTOOL_DCONFIG, EXPTP_DTOOL_DCONFIG);
|
||||
|
||||
#endif
|
||||
|
@ -30,7 +30,7 @@
|
||||
* used primarily by Python code. For modern code, use the new
|
||||
* ConfigVariable* interface instead of this deprecated interface.
|
||||
*/
|
||||
class EXPCL_DTOOLCONFIG DConfig {
|
||||
class EXPCL_DTOOL_DCONFIG DConfig {
|
||||
PUBLISHED:
|
||||
static INLINE bool GetBool(const string &sym, bool def = false);
|
||||
static INLINE int GetInt(const string &sym, int def = 0);
|
||||
|
@ -109,6 +109,9 @@
|
||||
#define EXPCL_DTOOL_PRC EXPCL_DTOOLCONFIG
|
||||
#define EXPTP_DTOOL_PRC EXPTP_DTOOLCONFIG
|
||||
|
||||
#define EXPCL_DTOOL_DCONFIG EXPCL_DTOOLCONFIG
|
||||
#define EXPTP_DTOOL_DCONFIG EXPTP_DTOOLCONFIG
|
||||
|
||||
|
||||
/* These two are always defined empty, because pystub is statically
|
||||
built. But we leave the symbol around in case we change our minds
|
||||
|
Loading…
x
Reference in New Issue
Block a user