2013-09-03 17:09:19 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace lean {
|
|
|
|
/**
|
|
|
|
\brief Return true iff \c c is a "safe" ASCII characters.
|
|
|
|
It is a "keyboard" character.
|
|
|
|
*/
|
|
|
|
bool is_safe_ascii(char c);
|
|
|
|
/**
|
|
|
|
\brief Return true iff the given string contains only "safe"
|
|
|
|
ASCII character.
|
|
|
|
*/
|
|
|
|
bool is_safe_ascii(char const * str);
|
2014-09-23 15:00:21 +00:00
|
|
|
|
|
|
|
void initialize_ascii();
|
|
|
|
void finalize_ascii();
|
2013-09-03 17:09:19 +00:00
|
|
|
}
|