I use three different "resisterVertices" methods right now, but I'd like to have one method that can be used by all three vertex types.

If I was using NS objects I presume I could use id as the argument type, and then recast them in the switch statement, but this method sits in that area between the Objective-C and C parts of my project.

Is this possible, without wrapping them in some sort of NS object? I'm happy (even keen) to make it a C function if that helps.