Skip to content

Commit 867d32c

Browse files
committed
修改为更容易分辨的头文件名称
1 parent 1e30005 commit 867d32c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

port/mpconfigport.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,13 @@
283283

284284
/*****************************************************************************/
285285
/* Modules define in your project
286-
You must provide 'moddefsuserextmods.h'
287-
and 'qstrdefsuserextmods.h'
286+
You must provide 'moddefs.user.extmods.h'
287+
and 'qstrdefs.user.extmods.h'
288288
*/
289289

290290
#ifdef MICROPYTHON_USING_USEREXTMODS
291291
#define MICROPY_USER_EXTMODS (1)
292-
#include <moddefsuserextmods.h>
292+
#include <moddefs.user.extmods.h>
293293
#else
294294
#define MICROPY_USER_EXTMODS (0)
295295
#endif

py/qstr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const qstr_pool_t mp_qstr_const_pool = {
110110
#define QDEF(id, str) str,
111111
#include "genhdr/qstrdefs.generated.h"
112112
#if (MICROPY_USER_EXTMODS == 1)
113-
#include <qstrdefsuserextmods.h>
113+
#include <qstrdefs.user.extmods.h>
114114
#endif
115115
#undef QDEF
116116
#endif

py/qstr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ enum {
4141
#define QDEF(id, str) id,
4242
#include "genhdr/qstrdefs.generated.h"
4343
#if (MICROPY_USER_EXTMODS == 1)
44-
#include <qstrdefsuserextmods.h>
44+
#include <qstrdefs.user.extmods.h>
4545
#endif
4646
#undef QDEF
4747
#endif

0 commit comments

Comments
 (0)