📄 hacking
字号:
Code style / indentation------------------------The file indent-all.sh contains information about the current codestyle. Run this script before commits.Variable argument macros------------------------Variable argument macros are non-portable in general, and should beavoided. Either use a second set of parentheses like DEBUG, or createa variable argument function like error.Structure---------The core protocol stack should be system-independent (i.e. ANSI C89only) so that it is easy to port. This currently applies to thefollowing files:bitmap.c licence.c orders.c rdp.c rdp5.c cache.c iso.c mcs.csecure.c mppc.c channels.crdesktop.cCompiler support----------------The source code should be compatible with ANSI C89. One exception isthe SeamlessRDP ServerEXE and ClientDLL, which should be compatiblewith ANSI C99.RDP resources-------------http://dev.remotenetworktechnology.com/refdata.htmChecking for out of memory conditions-------------------------------------Try to handle out of memory conditions gracefully. Use the xmallocroutines from rdesktop.c, instead of calling malloc manually. Also,remember that several Xlib functions can return NULL. This includesXGetImage. Use exit_if_null to verify returned pointers.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -