// Structs are stored inline, so nothing additional is being added. `d` is always 0. public void addStruct(int voffset, int x, int d) { if (x != d) { Nested(x); slot(voffset); } }
public void addDouble(int o, double x, double d) { if (force_defaults || x != d) { addDouble(x); slot(o); } }
public void addOffset(int o, int x, int d) { if (force_defaults || x != d) { addOffset(x); slot(o); } }
public void addFloat(int o, float x, double d) { if (force_defaults || x != d) { addFloat(x); slot(o); } }
public void addLong(int o, long x, long d) { if (force_defaults || x != d) { addLong(x); slot(o); } }
public void addShort(int o, short x, int d) { if (force_defaults || x != d) { addShort(x); slot(o); } }
public void addByte(int o, byte x, int d) { if (force_defaults || x != d) { addByte(x); slot(o); } }
// Add a scalar to a table at `o` into its vtable, with value `x` and default `d` public void addBoolean(int o, boolean x, boolean d) { if (force_defaults || x != d) { addBoolean(x); slot(o); } }