Skip to content

Commit

Permalink
Update ValueStructs.fbs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescourtney authored Aug 23, 2021
1 parent 56b2ebe commit fa2c7bf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions samples/Example15-ValueStructs/ValueStructs.fbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright 2021 James Courtney
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,15 +16,15 @@

namespace Samples.ValueStructs;

table Path (fs_serializer:Lazy)
table Path (fs_serializer:"Lazy")
{
Points : [Point];
Points : [Point];
}

// Beginning in FlatSharp version 5.7.0, FlatBuffer Structs can be declared as value types.
struct Point (fs_valueStruct)
{
X : float;
Y : float;
Z : float;
}
Y : float;
Z : float;
}

0 comments on commit fa2c7bf

Please sign in to comment.