原来include还能这样用

somefile.c static commands_t commands[] = { #include "commands-list.h" { 0, 0 } }; commands-list.h { "beginblock", command_beginblock }, { "capb", command_capb }, { "clear", command_clear }, ... { "x_save", command_x_save },

2007-04-06 · wuan

cdebconf优先级

FROM: cdebconf-0.114/debian/cdebconf-udeb.templates Packages that use debconf for configuration prioritize the questions they might ask you. Only questions with a certain priority or higher are actually shown to you; all less important questions are skipped. You can select the lowest priority of question you want to see: ‘critical’ is for items that will probably break the system without user intervention. ‘high’ is for items that don’t have reasonable defaults. ‘medium’ is for normal items that have reasonable defaults. ’low’ is for trivial items that have defaults that will work in the vast majority of cases.

2007-04-05 · wuan

slickedit 2007 for linux 支持中文输入拉

不过启动速度明显慢多了,可能是试用版的原因,也可能不是。 而且在我的机器上还是发现了和v11(.0.2)相同的问题:在Defs工具栏边界处故意拖动有可能导致系统崩溃。 另外UTF-8编码下的中文输入在SlickEdit的某些编辑界面下虽然能输入,但是字体显示为(?)问号,比如说jav...

2007-03-22 · wuan

共享库的构造函数和析构函数

gcc特有的函数(在编译时不能使用"-nonstartfiles"或"-nostdlib"选项): void __attribute__ ((constructor)) my_init(void); void __attribute__ ((destructor)) my_fini(void); 移植性更好的函数(不能改变函数名): void _init(); void _fini();

2007-03-22 · wuan

slickedit 2007 试用版已提供下载

^^

2007-03-19 · wuan