Skip to content

Commit

Permalink
chore(win32-api): update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jul 24, 2022
1 parent ded8088 commit fbaf9ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/win32-api/src/lib/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function parse_settings(settings?: LoadSettings): LoadSettings {

/**
* @example ```ts
* const point = new Struct(DS.POINT)() as M.POINT_Struct
* const point = StructFactory<M.POINT_Struct>(DS.POINT)
* point.x = 123
* const lParam = point.ref().address()
* const obj = retrieveStructFromPtrAddress<M.POINT_Struct>(lParam, DS.POINT)
Expand Down

0 comments on commit fbaf9ea

Please sign in to comment.