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