Skip to content

Commit c595fb9

Browse files
authored
Merge pull request #24 from dawee/master
fix StructType constructor name in README (typo)
2 parents 6141a4a + 17c1c7a commit c595fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ properties may be added to it.
7070
var ref = require('ref')
7171
var StructType = require('ref-struct')
7272

73-
var MyStruct = Struct()
73+
var MyStruct = StructType()
7474
MyStruct.defineProperty('width', ref.types.int)
7575
MyStruct.defineProperty('height', ref.types.int)
7676

0 commit comments

Comments
 (0)