It would be simpler to have something like, where there is no need to have another extra variable for the '1':
pdf_i64_add_i32(&var1, var1, 1); Should not be difficult to add such convenience functions, so I would say to go ahead and implement it. Also, a pdf_i64_to_i32 like function is also useful.
