Skip to content

Commit

Permalink
Merge branch 'qur786/#8-Port-InCHI-functions-Batch1-Phase2' of https:…
Browse files Browse the repository at this point in the history
…//github.com/manufac-analytics/inchi into qur786/#8-Port-InCHI-functions-Batch1-Phase2
  • Loading branch information
qur786 committed Aug 26, 2021
2 parents efb3713 + 08b7300 commit e4c454f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,15 @@ export const inchi_OutputStruct = NAPIStructType({
szLog: refNAPI.types.CString,
WarningFlags: NAPIArrayType(NAPIArrayType(refNAPI.types.ulong, 2), 2),
});
export interface INCHIOutputStruct {
atom: INCHIAtom;
stereo0D: INCHIStereo0D;
numAtoms: number;
numStereo0D: number;
szMessage: string;
szLog: string;
warningFlags: [[number, number], [number, number]];
}

// typedef struct tagINCHI_OutputStructEx
// {
Expand Down Expand Up @@ -878,6 +887,17 @@ export const inchi_OutputStructEx = NAPIStructType({
polymer: refNAPI.refType(inchi_Input_Polymer),
v3000: refNAPI.refType(inchi_Input_V3000),
});
export interface INCHIOutputStructEx {
atom: INCHIAtom;
stereo0D: INCHIStereo0D;
numAtoms: number;
numStereo0D: number;
szMessage: string;
szLog: string;
warningFlags: [[number, number], [number, number]];
polymer: INCHIInputPolymer;
v3000: INCHIInputV3000;
}

// void FreeInChIExtInput( inchi_Input_Polymer *polymer, inchi_Input_V3000 *v3000 );

Expand Down

0 comments on commit e4c454f

Please sign in to comment.