Update cookie funcs to return newdecl Cookie (#1379)
This commit is contained in:
parent
1cd0efad41
commit
0caa349f6a
@ -119,7 +119,8 @@ methodmap Cookie < Handle {
|
||||
// no longer needed.
|
||||
//
|
||||
// @param name Name of cookie to find.
|
||||
// @return A handle to the cookie if it is found. INVALID_HANDLE otherwise.
|
||||
// @return A handle to the cookie if it is found, null otherwise.
|
||||
|
||||
public static native Cookie Find(const char[] name);
|
||||
|
||||
// Set the value of a Client preference cookie.
|
||||
@ -183,7 +184,7 @@ methodmap Cookie < Handle {
|
||||
* exists, a handle to it will still be returned.
|
||||
* @error Cookie name is blank.
|
||||
*/
|
||||
native Handle RegClientCookie(const char[] name, const char[] description, CookieAccess access);
|
||||
native Cookie RegClientCookie(const char[] name, const char[] description, CookieAccess access);
|
||||
|
||||
/**
|
||||
* Searches for a Client preference cookie.
|
||||
@ -192,9 +193,10 @@ native Handle RegClientCookie(const char[] name, const char[] description, Cooki
|
||||
* no longer needed.
|
||||
*
|
||||
* @param name Name of cookie to find.
|
||||
* @return A handle to the cookie if it is found. INVALID_HANDLE otherwise.
|
||||
* @return A handle to the cookie if it is found, null otherwise.
|
||||
|
||||
*/
|
||||
native Handle FindClientCookie(const char[] name);
|
||||
native Cookie FindClientCookie(const char[] name);
|
||||
|
||||
/**
|
||||
* Set the value of a Client preference cookie.
|
||||
|
Loading…
Reference in New Issue
Block a user