GIR Input: Output: [CCode (cheader_filename = "test.h", cname = "TestError", cprefix = "TEST_ERROR_")] public errordomain TestError { BAR, FOO } [CCode (cheader_filename = "test.h", cname = "TestErrorWithType", cprefix = "TEST_ERROR_WITH_TYPE_")] public errordomain TestErrorWithType { BAR, FOO }