示例#1
0
static _wi_runtimetest_t * _wi_runtimetest_alloc(void) {
	return wi_runtime_create_instance_with_options(_wi_runtimetest_runtime_id, sizeof(_wi_runtimetest_t), WI_RUNTIME_OPTION_IMMUTABLE);
}
示例#2
0
wi_md5_t * wi_md5_alloc(void) {
    return wi_runtime_create_instance_with_options(_wi_md5_runtime_id, sizeof(wi_md5_t), 0);
}
示例#3
0
wi_mutable_date_t * wi_mutable_date_alloc(void) {
    return wi_runtime_create_instance_with_options(_wi_date_runtime_id, sizeof(wi_date_t), WI_RUNTIME_OPTION_MUTABLE);
}
示例#4
0
wi_dictionary_t * wi_dictionary_alloc(void) {
    return wi_runtime_create_instance_with_options(_wi_dictionary_runtime_id, sizeof(wi_dictionary_t), WI_RUNTIME_OPTION_IMMUTABLE);
}