add macro ARY_SET_SHARED
add macro ARY_UNSET_SHARED