spupng port to C (#19)
Merge branch 'rkuchumov/spupng'