OLD | NEW |
---|---|
1 // Copyright 2007-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1532 V8EXPORT Local<Object> FindInstanceInPrototypeChain( | 1532 V8EXPORT Local<Object> FindInstanceInPrototypeChain( |
1533 Handle<FunctionTemplate> tmpl); | 1533 Handle<FunctionTemplate> tmpl); |
1534 | 1534 |
1535 /** | 1535 /** |
1536 * Call builtin Object.prototype.toString on this object. | 1536 * Call builtin Object.prototype.toString on this object. |
1537 * This is different from Value::ToString() that may call | 1537 * This is different from Value::ToString() that may call |
1538 * user-defined toString function. This one does not. | 1538 * user-defined toString function. This one does not. |
1539 */ | 1539 */ |
1540 V8EXPORT Local<String> ObjectProtoToString(); | 1540 V8EXPORT Local<String> ObjectProtoToString(); |
1541 | 1541 |
1542 /** | |
1543 * Returns name of the function that created this object. | |
mnaganov (inactive)
2010/11/24 20:41:11
I'd rephrase this as: "Returns the name of the fun
yurys
2010/11/25 08:03:45
Done.
| |
1544 */ | |
1545 V8EXPORT Local<String> GetConstructorName(); | |
1546 | |
1542 /** Gets the number of internal fields for this Object. */ | 1547 /** Gets the number of internal fields for this Object. */ |
1543 V8EXPORT int InternalFieldCount(); | 1548 V8EXPORT int InternalFieldCount(); |
1544 /** Gets the value in an internal field. */ | 1549 /** Gets the value in an internal field. */ |
1545 inline Local<Value> GetInternalField(int index); | 1550 inline Local<Value> GetInternalField(int index); |
1546 /** Sets the value in an internal field. */ | 1551 /** Sets the value in an internal field. */ |
1547 V8EXPORT void SetInternalField(int index, Handle<Value> value); | 1552 V8EXPORT void SetInternalField(int index, Handle<Value> value); |
1548 | 1553 |
1549 /** Gets a native pointer from an internal field. */ | 1554 /** Gets a native pointer from an internal field. */ |
1550 inline void* GetPointerFromInternalField(int index); | 1555 inline void* GetPointerFromInternalField(int index); |
1551 | 1556 |
(...skipping 2187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3739 | 3744 |
3740 | 3745 |
3741 } // namespace v8 | 3746 } // namespace v8 |
3742 | 3747 |
3743 | 3748 |
3744 #undef V8EXPORT | 3749 #undef V8EXPORT |
3745 #undef TYPE_CHECK | 3750 #undef TYPE_CHECK |
3746 | 3751 |
3747 | 3752 |
3748 #endif // V8_H_ | 3753 #endif // V8_H_ |
OLD | NEW |