⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ptr_arith_t.py

📁 最新的版本ACE-5.6.8,刚从外文网上搬下,与大家分享.
💻 PY
字号:
""" Checks that ptr_arith_t usage in source code.  ptr_arithh_t is non-portable
    use ptrdiff_t instead. """

import _types
type_list = _types.source_files + _types.header_files + _types.inline_files

from sys import stderr
import re

regex = re.compile ("(ptr_arith_t )|(ptr_arith_t,)")
error_message = ": error: contains a non portable reference to ptr_arith_t, use ptrdiff_t instead.\n"

from _generic_handler import generic_handler_no_exceptions

def handler (file_name, file_content):
    return generic_handler_no_exceptions (regex, error_message, file_name, file_content)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -