eine einfache allokation reicht laugh dafür steht das sys_alloc ja im präprozessor

Code:
function demonstration(ANY_STRUCT* temp_my_own_struct) {
	ANY_STRUCT* copy = clone_struct( temp_my_own_struct, ANY_STRUCT );
	......
        copy->x = 12;
        sys_free(copy);
}