diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-15 17:41:14 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-15 17:41:14 +0000 |
commit | f1e413e914b9f03607194757848bab1ed4f401a3 (patch) | |
tree | 0cc0dbba61295b47bf343d439a4234123c4369a3 /cs-dotnet/src/gatsnull.cs | |
parent | 63628550708a616c5c58bc5c707db1e7fd9cd7c2 (diff) | |
download | libgats-f1e413e914b9f03607194757848bab1ed4f401a3.tar.gz libgats-f1e413e914b9f03607194757848bab1ed4f401a3.tar.bz2 libgats-f1e413e914b9f03607194757848bab1ed4f401a3.tar.xz libgats-f1e413e914b9f03607194757848bab1ed4f401a3.zip |
Accidentally included a dll, oops. Also, gats null, and gats float work
correctly now and are tested against the python implementation.
Diffstat (limited to 'cs-dotnet/src/gatsnull.cs')
-rw-r--r-- | cs-dotnet/src/gatsnull.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cs-dotnet/src/gatsnull.cs b/cs-dotnet/src/gatsnull.cs new file mode 100644 index 0000000..353a30f --- /dev/null +++ b/cs-dotnet/src/gatsnull.cs | |||
@@ -0,0 +1,26 @@ | |||
1 | using System.IO; | ||
2 | |||
3 | namespace Com.Xagasoft.Gats | ||
4 | { | ||
5 | public class GatsNull : GatsObject | ||
6 | { | ||
7 | public GatsNull() | ||
8 | { | ||
9 | } | ||
10 | |||
11 | public override string ToString() | ||
12 | { | ||
13 | return "(null)"; | ||
14 | } | ||
15 | |||
16 | public override void Read( Stream s, char type ) | ||
17 | { | ||
18 | } | ||
19 | |||
20 | public override void Write( Stream s ) | ||
21 | { | ||
22 | s.WriteByte( (int)'n' ); | ||
23 | } | ||
24 | } | ||
25 | } | ||
26 | |||