mirror of https://github.com/axmolengine/axmol.git
[ci skip]Fixed warnings
This commit is contained in:
parent
29c5da8429
commit
a47cad0354
|
@ -348,7 +348,7 @@ public:
|
|||
|
||||
#if CC_ENABLE_SCRIPT_BINDING
|
||||
/** Unschedule a script entry.
|
||||
* @warn Don't invoke this function unless you know what you are doing.
|
||||
* @warning Don't invoke this function unless you know what you are doing.
|
||||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
|
|
|
@ -102,13 +102,13 @@
|
|||
self.statusString = @"OK";
|
||||
|
||||
/*The individual values of the numeric status codes defined for HTTP/1.1
|
||||
| “200” ; OK
|
||||
| “201” ; Created
|
||||
| “202” ; Accepted
|
||||
| “203” ; Non-Authoritative Information
|
||||
| “204” ; No Content
|
||||
| “205” ; Reset Content
|
||||
| “206” ; Partial Content
|
||||
| "200" ; OK
|
||||
| "201" ; Created
|
||||
| "202" ; Accepted
|
||||
| "203" ; Non-Authoritative Information
|
||||
| "204" ; No Content
|
||||
| "205" ; Reset Content
|
||||
| "206" ; Partial Content
|
||||
*/
|
||||
if (responseCode < 200 || responseCode >= 300)
|
||||
{// something went wrong, abort the whole thing
|
||||
|
|
|
@ -471,7 +471,7 @@ public:
|
|||
@param a A is the body to connect.
|
||||
@param b B is the body to connect.
|
||||
@param phase Phase is the initial offset to use when deciding where the ratchet angles are.
|
||||
@param ratchet Ratchet is the distance between “clicks”.
|
||||
@param ratchet Ratchet is the distance between "clicks".
|
||||
@return A object pointer.
|
||||
*/
|
||||
static PhysicsJointRatchet* construct(PhysicsBody* a, PhysicsBody* b, float phase, float ratchet);
|
||||
|
@ -488,10 +488,10 @@ public:
|
|||
/** Set the initial offset.*/
|
||||
void setPhase(float phase);
|
||||
|
||||
/** Get the distance between “clicks”.*/
|
||||
/** Get the distance between "clicks".*/
|
||||
float getRatchet() const;
|
||||
|
||||
/** Set the distance between “clicks”.*/
|
||||
/** Set the distance between "clicks".*/
|
||||
void setRatchet(float ratchet);
|
||||
virtual bool createConstraints() override;
|
||||
|
||||
|
|
Loading…
Reference in New Issue