aboutsummaryrefslogtreecommitdiff
path: root/include/crypto/secret.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/secret.h')
-rw-r--r--include/crypto/secret.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/crypto/secret.h b/include/crypto/secret.h
index 2deb461d2f..5d20ae6d2f 100644
--- a/include/crypto/secret.h
+++ b/include/crypto/secret.h
@@ -26,10 +26,10 @@
#include "crypto/secret_common.h"
#define TYPE_QCRYPTO_SECRET "secret"
-#define QCRYPTO_SECRET(obj) \
- OBJECT_CHECK(QCryptoSecret, (obj), TYPE_QCRYPTO_SECRET)
-
typedef struct QCryptoSecret QCryptoSecret;
+DECLARE_INSTANCE_CHECKER(QCryptoSecret, QCRYPTO_SECRET,
+ TYPE_QCRYPTO_SECRET)
+
typedef struct QCryptoSecretClass QCryptoSecretClass;
/**