mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
py: Move to guarded includes, everywhere in py/ core.
Addresses issue #1022.
This commit is contained in:
9
py/mpz.h
9
py/mpz.h
@@ -23,6 +23,13 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#ifndef __MICROPY_INCLUDED_PY_MPZ_H__
|
||||
#define __MICROPY_INCLUDED_PY_MPZ_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "py/mpconfig.h"
|
||||
#include "py/misc.h"
|
||||
|
||||
// This mpz module implements arbitrary precision integers.
|
||||
//
|
||||
@@ -131,3 +138,5 @@ mp_float_t mpz_as_float(const mpz_t *z);
|
||||
#endif
|
||||
mp_uint_t mpz_as_str_size(const mpz_t *i, mp_uint_t base, const char *prefix, char comma);
|
||||
mp_uint_t mpz_as_str_inpl(const mpz_t *z, mp_uint_t base, const char *prefix, char base_char, char comma, char *str);
|
||||
|
||||
#endif // __MICROPY_INCLUDED_PY_MPZ_H__
|
||||
|
||||
Reference in New Issue
Block a user