A struct field, in declaration order, flagged when it is a function pointer.
| 60 | |
| 61 | /** A struct field, in declaration order, flagged when it is a function pointer. */ |
| 62 | interface FieldInfo { |
| 63 | name: string; |
| 64 | index: number; |
| 65 | isFnPtr: boolean; |
| 66 | /** The field's declared type token (e.g. `redisCommand` for `struct redisCommand *cmd`), |
| 67 | * used to walk a chained receiver `c->cmd->proc`. Empty for fn-pointer fields. */ |
| 68 | type: string; |
| 69 | } |
| 70 | |
| 71 | function sliceLines(content: string, startLine?: number, endLine?: number): string { |
| 72 | if (!startLine) return ''; |
nothing calls this directly
no outgoing calls
no test coverage detected