mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-30 12:06:43 +08:00
fix[mpp_singleton]: fix init order issue
Platform: General
Spec: all
Error case:
Constructors may be added after 65535(mpp_singleton_init)
ex: mpp_platform added after 65535 when mpp_soc is
refactored to c
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com>
Change-Id: If736904beb0cd64a3e4ae3b20fd72e1198646ac7
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
|
||||
#include "kmpp_obj.h"
|
||||
|
||||
#define TO_STR(x) #x
|
||||
#define _TO_STR(x) #x
|
||||
#define TO_STR(x) _TO_STR(x)
|
||||
|
||||
/* concat by underscore */
|
||||
#define CONCAT_US1(a) a
|
||||
|
||||
Reference in New Issue
Block a user