Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.453 kB
#include "presents/stable.h"
#include "BoxedFloat.h"
#include "presents/ObjectInputStream.h"
#include "presents/ObjectOutputStream.h"
// Generated by running python boxer.py in this directory
using namespace presents::box;
DEFINE_STREAMABLE("java.lang.Float", BoxedFloat);
void BoxedFloat::readObject (ObjectInputStream& in)
{
value = in.readFloat();
}
void BoxedFloat::writeObject (ObjectOutputStream& out) const
{
out.writeFloat(value);
}
Jump to Line
Something went wrong with that request. Please try again.