pub unsafe extern "C" fn clingo_ast_copy(
    ast: *mut clingo_ast_t,
    copy: *mut *mut clingo_ast_t
) -> bool
Expand description

! Create a shallow copy of an AST node. ! ! @param[in] ast the AST to copy ! @param[out] copy the resulting AST ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc