blob: 5a2618237aaa5af69508f642af9788aa12742cb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "create_env.h"
axutil_env_t * create_environment()
{
axutil_allocator_t *allocator = NULL;
axutil_log_t *log = NULL;
axutil_error_t *error = NULL;
axutil_env_t *env = NULL;
allocator = axutil_allocator_init(NULL);
log = axutil_log_create(allocator, NULL, NULL);
error = axutil_error_create(allocator);
env = axutil_env_create_with_error_log(allocator, error, log);
return env;
}
|