CString *internal(reinterpret_cast<CString *>(JSObjectGetPrivate(object)));
ssize_t offset;
- if (!CYGetOffset(pool, context, property, offset))
+ if (JSStringIsEqualToUTF8CString(property, "$cyi"))
+ offset = 0;
+ else if (!CYGetOffset(pool, context, property, offset))
return NULL;
return CYCastJSValue(context, CYJSString(CYUTF8String(&internal->value_[offset], 1)));
CString *internal(reinterpret_cast<CString *>(JSObjectGetPrivate(object)));
ssize_t offset;
- if (!CYGetOffset(pool, context, property, offset))
+ if (JSStringIsEqualToUTF8CString(property, "$cyi"))
+ offset = 0;
+ else if (!CYGetOffset(pool, context, property, offset))
return false;
const char *data(CYPoolCString(pool, context, value));