NetDimension.NanUI/ChromiumFX/Generated/Remote/CfrV8Value.cs
/// <summary>
/// Adjusts the amount of registered external memory for the object. Used to
/// give V8 an indication of the amount of externally allocated memory that is
/// kept alive by JavaScript objects. V8 uses this information to decide when
/// to perform global garbage collection. Each CfrV8Value tracks the amount
/// of external memory associated with it and automatically decreases the
/// global total by the appropriate amount on its destruction.
/// |changeInBytes| specifies the number of bytes to adjust by. This function
/// returns the number of bytes associated with the object after the
/// adjustment. This function can only be called on user created objects.
/// </summary>
/// <remarks>
/// See also the original CEF documentation in
/// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_v8_capi.h">cef/include/capi/cef_v8_capi.h</see>.
/// </remarks>
Adjusts the amount of registered external memory for the object. Used to
give V8 an indication of the amount of externally allocated memory that is
kept alive by JavaScript objects. V8 uses this information to decide when
to perform global garbage collection. Each CfrV8Value tracks the amount
of external memory associated with it and automatically decreases the
global total by the appropriate amount on its destruction.
|changeInBytes| specifies the number of bytes to adjust by. This function
returns the number of bytes associated with the object after the
adjustment. This function can only be called on user created objects.
Adjusts the amount of registered external memory for the object . Used to give V8 an indication of the amount of externally allocated memory that is kept alive by JavaScript objects . V8 uses this information to decide when to perform global garbage collection . Each CfrV8Value tracks the amount of external memory associated with it and automatically decreases the global total by the appropriate amount on its destruction . |changeInBytes| specifies the number of bytes to adjust by . This function returns the number of bytes associated with the object after the adjustment . This function can only be called on user created objects .
public int AdjustExternallyAllocatedMemory(int changeInBytes) {
            var connection = RemotePtr.connection;
            var call = new CfxV8ValueAdjustExternallyAllocatedMemoryRemoteCall();
            call.@this = RemotePtr.ptr;
            call.changeInBytes = changeInBytes;
            call.RequestExecution(connection);
            return call.__retval;
        }
public int AdjustExternallyAllocatedMemory ( int changeInBytes ) { var connection = RemotePtr . connection ; var call = new CfxV8ValueAdjustExternallyAllocatedMemoryRemoteCall ( ) ; call . @this = RemotePtr . ptr ; call . changeInBytes = changeInBytes ; call . RequestExecution ( connection ) ; return call . __retval ; }
Adjusts the amount of registered external memory for the object.
Adjusts the amount of registered external memory for the object .
changeInBytes
int
remarks
See also the original CEF documentation in
cef/include/capi/cef_v8_capi.h
See also the original CEF documentation in cef / include / capi / cef_v8_capi . h