genius257 / DllStructEx

Extended DllStruct for AutoIt3
MIT License
2 stars 1 forks source link

Struct strings with whitespace before/after string fails #19

Closed genius257 closed 2 years ago

genius257 commented 2 years ago
#include "../DllStructEx.au3"

$tagSomething = "  INT a;  "
$o = DllStructExCreate($tagSomething)

fails due to whitespace. output:

Error: Regex validation for the entire struct provided failed!
  in DllStructEx.au3 on line 598
Error: Failed to create DllStruct from the final translated structure string
  in DllStructEx.au3 on line 84