We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for example:
typedef struct tagIDCardData { char Name[32]; char Sex[6]; char Nation[64]; char Born[18]; char Address[72]; char IDCardNo[38]; } IDCardData;
The text was updated successfully, but these errors were encountered:
May be this?
import refNAPI from "ref-napi"; import StructType from "ref-struct-di"; import ArrayType from "ref-array-di"; const NAPIStructType = StructType(refNAPI); const NAPIArrayType = ArrayType(refNAPI); export const IDCardData = NAPIStructType({ Name: NAPIArrayType(refNAPI.types.char, 32), Sex: NAPIArrayType(refNAPI.types.char, 6), Nation: NAPIArrayType(refNAPI.types.char, 64), Born: NAPIArrayType(refNAPI.types.char, 18), Address: NAPIArrayType(refNAPI.types.char, 72), IDCardNo: NAPIArrayType(refNAPI.types.char, 38), });
Sorry, something went wrong.
#17 (comment)
No branches or pull requests
for example:
typedef struct tagIDCardData {
char Name[32];
char Sex[6];
char Nation[64];
char Born[18];
char Address[72];
char IDCardNo[38];
} IDCardData;
The text was updated successfully, but these errors were encountered: