void SUB_APPENDDYNSTRFREE(qbs*_SUB_APPENDDYNSTRFREE_STRING_BASE_EXPR,qbs*_SUB_APPENDDYNSTRFREE_STRING_TOTAL_EXPR,int32*_SUB_APPENDDYNSTRFREE_LONG_ELEM_BYTES,qbs*_SUB_APPENDDYNSTRFREE_STRING_ACC){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data278.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(28172,1257,"type.bas");}while(r);
do{
qbs_set(_SUB_APPENDDYNSTRFREE_STRING_CR,qbs_add(func_chr( 13 ),func_chr( 10 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28172,1258,"type.bas");}while(r);
do{
qbs_set(_SUB_APPENDDYNSTRFREE_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(_SUB_APPENDDYNSTRFREE_STRING_ACC,_SUB_APPENDDYNSTRFREE_STRING_CR),qbs_new_txt_len("for(ptrszint dyn_udt_str_i=0; dyn_udt_str_i<(",45)),_SUB_APPENDDYNSTRFREE_STRING_TOTAL_EXPR),qbs_new_txt_len("); dyn_udt_str_i++){",20)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28172,1259,"type.bas");}while(r);
do{
qbs_set(_SUB_APPENDDYNSTRFREE_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_APPENDDYNSTRFREE_STRING_ACC,_SUB_APPENDDYNSTRFREE_STRING_CR),qbs_new_txt_len("qbs **dyn_udt_str_slot=(qbs**)(((uint8*)(",41)),_SUB_APPENDDYNSTRFREE_STRING_BASE_EXPR),qbs_new_txt_len("))+dyn_udt_str_i*",17)),qbs_ltrim(qbs_str((int32)(*_SUB_APPENDDYNSTRFREE_LONG_ELEM_BYTES)))),qbs_new_txt_len(");",2)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28172,1260,"type.bas");}while(r);
do{
qbs_set(_SUB_APPENDDYNSTRFREE_STRING_ACC,qbs_add(qbs_add(_SUB_APPENDDYNSTRFREE_STRING_ACC,_SUB_APPENDDYNSTRFREE_STRING_CR),qbs_new_txt_len("if (*dyn_udt_str_slot) qbs_free(*dyn_udt_str_slot);",51)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28172,1261,"type.bas");}while(r);
do{
qbs_set(_SUB_APPENDDYNSTRFREE_STRING_ACC,qbs_add(qbs_add(_SUB_APPENDDYNSTRFREE_STRING_ACC,_SUB_APPENDDYNSTRFREE_STRING_CR),qbs_new_txt_len("}",1)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28172,1262,"type.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free278.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
}
