fix(api): fix typos in function name and comment

This commit is contained in:
Joe Hendrix 2015-08-26 13:52:53 -07:00 committed by Leonardo de Moura
parent c84e886c7b
commit 91dc9c7bd9
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ lean_bool lean_decl_mk_thm(lean_name n, lean_list_name p, lean_expr t, lean_expr
LEAN_CATCH;
}
lean_bool lean_decl_mk_thm(lean_env e, lean_name n, lean_list_name p, lean_expr t, lean_expr v, lean_decl * r, lean_exception * ex) {
lean_bool lean_decl_mk_thm_with(lean_env e, lean_name n, lean_list_name p, lean_expr t, lean_expr v, lean_decl * r, lean_exception * ex) {
LEAN_TRY;
check_nonnull(e);
check_nonnull(n);

View file

@ -68,7 +68,7 @@ lean_bool lean_env_forget(lean_env e, lean_env * r, lean_exception * ex);
\remark Every declaration passed to \c f must be disposed using \c lean_decl_del. */
lean_bool lean_env_for_each_decl(lean_env e, void (*f)(lean_decl), lean_exception * ex);
/** \brief Execute \c f for each global universe in \c env.
\remark Every name passed to \c f must be disposed using \c lean_nam_del. */
\remark Every name passed to \c f must be disposed using \c lean_name_del. */
lean_bool lean_env_for_each_univ(lean_env e, void (*f)(lean_name), lean_exception * ex);
/*@}*/
/*@}*/