Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: include/v8.h

Issue 11312099: Fixed visibility attribute for GetPointerFromInternalField (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 1606
1607 /** Sets the value in an internal field. */ 1607 /** Sets the value in an internal field. */
1608 V8EXPORT void SetInternalField(int index, Handle<Value> value); 1608 V8EXPORT void SetInternalField(int index, Handle<Value> value);
1609 1609
1610 /** 1610 /**
1611 * Gets a native pointer from an internal field. Deprecated. If the pointer is 1611 * Gets a native pointer from an internal field. Deprecated. If the pointer is
1612 * always 2-byte-aligned, use GetAlignedPointerFromInternalField instead, 1612 * always 2-byte-aligned, use GetAlignedPointerFromInternalField instead,
1613 * otherwise use a combination of GetInternalField, External::Cast and 1613 * otherwise use a combination of GetInternalField, External::Cast and
1614 * External::Value. 1614 * External::Value.
1615 */ 1615 */
1616 V8_DEPRECATED(void* GetPointerFromInternalField(int index)); 1616 V8EXPORT V8_DEPRECATED(void* GetPointerFromInternalField(int index));
1617 1617
1618 /** 1618 /**
1619 * Sets a native pointer in an internal field. Deprecated. If the pointer is 1619 * Sets a native pointer in an internal field. Deprecated. If the pointer is
1620 * always 2-byte aligned, use SetAlignedPointerInInternalField instead, 1620 * always 2-byte aligned, use SetAlignedPointerInInternalField instead,
1621 * otherwise use a combination of External::New and SetInternalField. 1621 * otherwise use a combination of External::New and SetInternalField.
1622 */ 1622 */
1623 inline V8_DEPRECATED(void SetPointerInInternalField(int index, void* value)); 1623 inline V8_DEPRECATED(void SetPointerInInternalField(int index, void* value));
1624 1624
1625 /** 1625 /**
1626 * Gets a 2-byte-aligned native pointer from an internal field. This field 1626 * Gets a 2-byte-aligned native pointer from an internal field. This field
(...skipping 3145 matching lines...) Expand 10 before | Expand all | Expand 10 after
4772 4772
4773 4773
4774 } // namespace v8 4774 } // namespace v8
4775 4775
4776 4776
4777 #undef V8EXPORT 4777 #undef V8EXPORT
4778 #undef TYPE_CHECK 4778 #undef TYPE_CHECK
4779 4779
4780 4780
4781 #endif // V8_H_ 4781 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698