This commit is contained in:
16
engine/api.c
16
engine/api.c
@@ -1791,15 +1791,6 @@ int ph7_value_char(ph7_value *pVal, int cValue) {
|
||||
MemObjSetType(pVal, MEMOBJ_CHAR);
|
||||
return PH7_OK;
|
||||
}
|
||||
/*
|
||||
* [CAPIREF: ph7_value_null()]
|
||||
* Please refer to the official documentation for function purpose and expected parameters.
|
||||
*/
|
||||
int ph7_value_null(ph7_value *pVal) {
|
||||
/* Invalidate any prior representation and set the NULL flag */
|
||||
PH7_MemObjRelease(pVal);
|
||||
return PH7_OK;
|
||||
}
|
||||
/*
|
||||
* [CAPIREF: ph7_value_double()]
|
||||
* Please refer to the official documentation for function purpose and expected parameters.
|
||||
@@ -1928,13 +1919,6 @@ int ph7_value_is_void(ph7_value *pVal) {
|
||||
int ph7_value_is_string(ph7_value *pVal) {
|
||||
return (pVal->iFlags & MEMOBJ_STRING) ? TRUE : FALSE;
|
||||
}
|
||||
/*
|
||||
* [CAPIREF: ph7_value_is_null()]
|
||||
* Please refer to the official documentation for function purpose and expected parameters.
|
||||
*/
|
||||
int ph7_value_is_null(ph7_value *pVal) {
|
||||
return (pVal->iFlags & MEMOBJ_NULL) ? TRUE : FALSE;
|
||||
}
|
||||
/*
|
||||
* [CAPIREF: ph7_value_is_numeric()]
|
||||
* Please refer to the official documentation for function purpose and expected parameters.
|
||||
|
Reference in New Issue
Block a user