pic_sym is now an alias to unsigned int
This commit is contained in:
parent
b757368748
commit
52803aa825
include/picrin
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue