mirror of https://github.com/axmolengine/axmol.git
[ci skip][AUTO]: updating luabinding & jsbinding automatically (#16411)
This commit is contained in:
parent
4d801ba1d0
commit
56cfd76b4c
|
@ -61036,7 +61036,7 @@ bool js_cocos2dx_TextFieldTTF_getPasswordTextStyle(JSContext *cx, uint32_t argc,
|
|||
cocos2d::TextFieldTTF* cobj = (cocos2d::TextFieldTTF *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_TextFieldTTF_getPasswordTextStyle : Invalid Native Object");
|
||||
if (argc == 0) {
|
||||
std::string ret = cobj->getPasswordTextStyle();
|
||||
const std::string& ret = cobj->getPasswordTextStyle();
|
||||
jsval jsret = JSVAL_NULL;
|
||||
jsret = std_string_to_jsval(cx, ret);
|
||||
args.rval().set(jsret);
|
||||
|
|
Loading…
Reference in New Issue