changed calls in block.hpp to use c-style naming so that they can be more easily referenced from other languages