2013-05-11 22:29:07 -04:00
|
|
|
namespace factor {
|
2009-05-04 02:46:13 -04:00
|
|
|
|
2013-05-11 22:29:07 -04:00
|
|
|
inline static cell string_capacity(const string* str) {
|
|
|
|
return untag_fixnum(str->length);
|
2009-05-02 05:04:19 -04:00
|
|
|
}
|
|
|
|
|
2013-05-11 22:29:07 -04:00
|
|
|
inline static cell string_size(cell size) { return sizeof(string) + size; }
|
2009-05-02 05:04:19 -04:00
|
|
|
|
2009-05-04 02:46:13 -04:00
|
|
|
}
|