Caught a slight issue at the top of the file with pointers, should be fixed now though.
Updated to match the updates to the C++ file, though I think the syntax needs to be looked at probably.