Remove type argument from structs (#12)
* Remove type argument from structs
* update version and changelog
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 58f9eff..3ce5ddf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
# Changelog
-## 0.1.2
+## 0.1.3-dev.2
+
+Incorporate struct API changes (drop type argument of structs).
+
+## 0.1.3-dev.1
* Adds top-level `allocate<T>()` and `free()` methods which can be used as a
replacement for the deprecated `Pointer.allocate<T>()` and `Pointer.free()`
diff --git a/lib/src/utf16.dart b/lib/src/utf16.dart
index b7f7783..cffdb99 100644
--- a/lib/src/utf16.dart
+++ b/lib/src/utf16.dart
@@ -13,7 +13,7 @@
///
/// [Utf16] is respresented as a struct so that `Pointer<Utf16>` can be used in
/// native function signatures.
-class Utf16 extends Struct<Utf16> {
+class Utf16 extends Struct {
/// Convert a [String] to a Utf16-encoded null-terminated C string.
///
/// If 'string' contains NULL bytes, the converted string will be truncated
diff --git a/lib/src/utf8.dart b/lib/src/utf8.dart
index c8abc36..640da80 100644
--- a/lib/src/utf8.dart
+++ b/lib/src/utf8.dart
@@ -20,7 +20,7 @@
//
// TODO(https://github.com/dart-lang/ffi/issues/4): No need to use
// 'asExternalTypedData' when Pointer operations are performant.
-class Utf8 extends Struct<Utf8> {
+class Utf8 extends Struct {
/// Returns the length of a null-terminated string -- the number of (one-byte)
/// characters before the first null byte.
static int strlen(Pointer<Utf8> string) {
diff --git a/pubspec.yaml b/pubspec.yaml
index 2bfef40..a6fd399 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: ffi
-version: 0.1.3-dev.1
+version: 0.1.3-dev.2
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/ffi
description: Utilities for working with Foreign Function Interface (FFI) code.