All files / transpiler/output/codegen/types ICallbackTypedefParameter.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19                                     
/**
 * One parameter of an ADR-029 callback typedef, as both the `.c` and the `.h`
 * need to see it.
 *
 * The two files used to format this from separate data: the header was handed
 * only `{ type, isStruct }`, so it dropped `const` and array dimensions and
 * declared a typedef the implementation contradicted (#1164).
 */
interface ICallbackTypedefParameter {
  readonly type: string;
  readonly isStruct: boolean;
  readonly isConst?: boolean;
  readonly isArray?: boolean;
  readonly arrayDims?: string;
  readonly name?: string;
}
 
export default ICallbackTypedefParameter;