1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

AK: Make JsonValue and JsonObjectSerializer speak int/long/long long

While width-oriented integer types are nicer from the programmer's
perspective, we have to accept that C++ thinks in int/long/long long.
This commit is contained in:
Andreas Kling 2020-05-22 13:57:23 +02:00
parent ba390f9b34
commit a1db1e6664
3 changed files with 46 additions and 12 deletions

View file

@ -63,10 +63,12 @@ public:
JsonValue& operator=(const JsonValue&);
JsonValue& operator=(JsonValue&&);
JsonValue(i32);
JsonValue(u32);
JsonValue(i64);
JsonValue(u64);
JsonValue(int);
JsonValue(unsigned);
JsonValue(long);
JsonValue(long unsigned);
JsonValue(long long);
JsonValue(long long unsigned);
#if !defined(KERNEL)
JsonValue(double);