1c311431ad
The ActionScript code is now under aslib and is built via Maven (and Ant). The CPP code is under cpplib and is ignored by everything (other than service generation), but now at least it's not crufting up the Java submodule with its XCode project. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6783 542714f4-19e9-0310-aa3c-eee0fc999fb1
20 lines
453 B
C++
20 lines
453 B
C++
#include "presents/stable.h"
|
|
#include "BoxedShort.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.Short", BoxedShort);
|
|
|
|
void BoxedShort::readObject (ObjectInputStream& in)
|
|
{
|
|
value = in.readShort();
|
|
}
|
|
|
|
void BoxedShort::writeObject (ObjectOutputStream& out) const
|
|
{
|
|
out.writeShort(value);
|
|
}
|