Fix X->x typo in the NUT_PRIMARY_AUTO_INCREMENT macro (#92)

* Extend .gitignore

* Extend .gitignore

* Fix X->x typo in the NUT_PRIMARY_AUTO_INCREMENT macro
This commit is contained in:
Miklós Márton 2020-07-27 15:43:52 +02:00 committed by GitHub
parent a3d9d0a1e0
commit b077defc81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ public slots: \
#define NUT_AUTO_INCREMENT(x) NUT_INFO(__nut_AUTO_INCREMENT, x, 0)
#define NUT_PRIMARY_AUTO_INCREMENT(x) NUT_INFO(__nut_PRIMARY_KEY_AI, x, 0)\
NUT_PRIMARY_KEY(X) NUT_AUTO_INCREMENT(X)
NUT_PRIMARY_KEY(x) NUT_AUTO_INCREMENT(x)
#define NUT_DISPLAY_NAME(field, name) NUT_INFO(__nut_DISPLAY, field, name)
#define NUT_UNIQUE(x) NUT_INFO(__nut_UNIQUE, x, 0)
#define NUT_LEN(field, len) NUT_INFO(__nut_LEN, field, len)