Creates a new C function to register the specified class at runtime.
a class
newly created class register function