Skip to content
Ilya Kapitonau edited this page Aug 5, 2021 · 2 revisions

Env::DocAddNum32

void DocAddNum32(const char* szID, uint32_t val);

Emits 32-bit integer JSON field with name szID and value val

Parameters

  • szID : 0-terminated string, the name of the field
  • val : the value

Return value

  • none

Notes

  • none

Example

DocAddNum32("int_field", 42);

result

 "int_field" : 42
Clone this wiki locally