pic_sym is now an alias to unsigned int

This commit is contained in:
Yuichi Nishiwaki 2014-03-25 14:13:38 +09:00
parent b757368748
commit 52803aa825
1 changed files with 2 additions and 2 deletions

View File

@ -10,13 +10,13 @@ extern "C" {
#endif #endif
/** /**
* pic_sym is just an alias to int. * pic_sym is just an alias to unsigned int.
* the value 0 for pic_sym is guaranteed to resolve to no symbol. * the value 0 for pic_sym is guaranteed to resolve to no symbol.
* if you are defining a function that returns optional<pic_sym>, * if you are defining a function that returns optional<pic_sym>,
* the zero symbol would be useful for such situation. * the zero symbol would be useful for such situation.
*/ */
typedef int pic_sym; typedef unsigned pic_sym;
/** /**
* `undef` values never seen from user-end: that is, * `undef` values never seen from user-end: that is,