The manual states that add_struct is intended for external languages so it uses long instead of var.

Anyone know of a way to do this using lite-c?