Fix potential bug in `skip_until`
Use macros to reduce the file size of the ptr-style generator
Update generated ptr-style loader