|
@@ -27,6 +27,26 @@ BBString * bbEnumToString_l(BBEnum * bbEnum, BBLONG ordinal);
|
|
BBString * bbEnumToString_y(BBEnum * bbEnum, BBULONG ordinal);
|
|
BBString * bbEnumToString_y(BBEnum * bbEnum, BBULONG ordinal);
|
|
BBString * bbEnumToString_t(BBEnum * bbEnum, BBSIZET ordinal);
|
|
BBString * bbEnumToString_t(BBEnum * bbEnum, BBSIZET ordinal);
|
|
|
|
|
|
|
|
+int bbEnumTryConvert_b(BBEnum * bbEnum, BBBYTE ordinalValue, BBBYTE * ordinalResult);
|
|
|
|
+int bbEnumTryConvert_s(BBEnum * bbEnum, BBSHORT ordinalValue, BBSHORT * ordinalResult);
|
|
|
|
+int bbEnumTryConvert_i(BBEnum * bbEnum, BBINT ordinalValue, BBINT * ordinalResult);
|
|
|
|
+int bbEnumTryConvert_u(BBEnum * bbEnum, BBUINT ordinalValue, BBUINT * ordinalResult);
|
|
|
|
+int bbEnumTryConvert_l(BBEnum * bbEnum, BBLONG ordinalValue, BBLONG * ordinalResult);
|
|
|
|
+int bbEnumTryConvert_y(BBEnum * bbEnum, BBULONG ordinalValue, BBULONG * ordinalResult);
|
|
|
|
+int bbEnumTryConvert_t(BBEnum * bbEnum, BBSIZET ordinalValue, BBSIZET * ordinalResult);
|
|
|
|
+
|
|
|
|
+#ifndef NDEBUG
|
|
|
|
+
|
|
|
|
+BBBYTE bbEnumCast_b(BBEnum * bbEnum, BBBYTE ordinalValue);
|
|
|
|
+BBSHORT bbEnumCast_s(BBEnum * bbEnum, BBSHORT ordinalValue);
|
|
|
|
+BBINT bbEnumCast_i(BBEnum * bbEnum, BBINT ordinalValue);
|
|
|
|
+BBUINT bbEnumCast_u(BBEnum * bbEnum, BBUINT ordinalValue);
|
|
|
|
+BBLONG bbEnumCast_l(BBEnum * bbEnum, BBLONG ordinalValue);
|
|
|
|
+BBULONG bbEnumCast_y(BBEnum * bbEnum, BBULONG ordinalValue);
|
|
|
|
+BBSIZET bbEnumCast_t(BBEnum * bbEnum, BBSIZET ordinalValue);
|
|
|
|
+
|
|
|
|
+#endif
|
|
|
|
+
|
|
void bbEnumRegister(BBEnum * bbEnum, BBDebugScope *p);
|
|
void bbEnumRegister(BBEnum * bbEnum, BBDebugScope *p);
|
|
BBEnum * bbEnumGetInfo( char * name );
|
|
BBEnum * bbEnumGetInfo( char * name );
|
|
|
|
|