[php-src] PR #17794: Fix FFI Parsing of Pointer Declaration Lists
| From: | davnotdev | Date: | Fri, 14 Feb 2025 02:20:35 +0000 |
| Subject: | [php-src] PR #17794: Fix FFI Parsing of Pointer Declaration Lists | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30759@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17794
Author: davnotdev
```
struct MyStruct {
uint8_t** a, *b, c;
};
```
When a
struct is defined in this form, the "base type" of a, b, and c is
uint8_t**, so a will be uint8_t**, b will be uint8_t***, and
c will be uint8_t**. This PR fixes the issue and adds a test case for it.