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

📄 assert.cpp

📁 大名鼎鼎的远程登录软件putty的Symbian版源码
💻 CPP
字号:
/*    assert.cpp * * A new assert.h to override a broken one in the 9210i SDK version 1.2. * Panics the application if an assertion fails. * * Copyright 2002 Petteri Kangaslampi * * See license.txt for full copyright and license information.*/#include <e32std.h>#include <assert.h>#include "charutil.h"extern "C" void assert_failed(const char *file, int line,                              const char * /*expr*/) {    TPtr *fdes = CreateDes(file);    if ( fdes->Length() < 16 ) {        User::Panic(*fdes, line);    } else {        User::Panic(fdes->Right(16), line);    }}

⌨️ 快捷键说明

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