All files / transpiler/types/symbols/c ICFieldInfo.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 20 21                                         
/**
 * Metadata for a C struct field.
 * Uses simple strings for types since C types pass through unchanged.
 */
interface ICFieldInfo {
  /** Field name */
  readonly name: string;
 
  /** Field type as string (e.g., "int", "char*") */
  readonly type: string;
 
  /**
   * Array dimensions if this field is an array.
   * Issue #981: Numbers for resolved dimensions, strings for macro names.
   * Example: [8] for numeric, ["BUF_SIZE"] for macro-sized.
   */
  readonly arrayDimensions?: ReadonlyArray<number | string>;
}
 
export default ICFieldInfo;