Builds a config from the given builder and destroys the builder.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFDomainConfig.
- Note
- The builder given will be destroyed whether the function is successful or not.
- Parameters
-
self | The builder to build a config from. This may be NULL. |
- Returns
- DOFDomainConfig A config that was created from the builder.
- Exceptions
-
NULL | if the config failed to be built. |