Skip to content

Commit

Permalink
Update docs with get_type_size API.
Browse files Browse the repository at this point in the history
Also updated releasenotes.
  • Loading branch information
alexbudmsft committed Jan 1, 2016
1 parent 1c438d6 commit 3b9ab75
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/Lua/dbgscript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ dbgscript Module
Obtain the offset of `field` in `type`. Behaves like ``offsetof`` macro in C.

.. versionadded:: 1.0.2

.. method:: dbgscript.getTypeSize(type) -> integer

Obtain the size of `type` in bytes. Behaves like ``sizeof`` operator in C.

.. versionadded:: 1.0.4

.. method:: dbgscript.startBuffering()

Expand Down
6 changes: 6 additions & 0 deletions docs/Python/dbgscript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ namespace.
Obtain the offset of `field` in `type`. Behaves like ``offsetof`` macro in C.

.. versionadded:: 1.0.2

.. method:: get_type_size(type) -> int

Obtain the size of `type` in bytes. Behaves like ``sizeof`` operator in C.

.. versionadded:: 1.0.4

.. method:: start_buffering()

Expand Down
6 changes: 6 additions & 0 deletions docs/Ruby/DbgScript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ DbgScript Module

.. versionadded:: 1.0.2

.. method:: DbgScript.get_type_size(type) -> Integer

Obtain the size of `type` in bytes. Behaves like ``sizeof`` operator in C.

.. versionadded:: 1.0.4

.. method:: DbgScript.start_buffering()

.. include:: ../shared/start_buffering.txt
Expand Down
7 changes: 7 additions & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
1.0.4 (beta)
------------

* Add `dbgscript.get_type_size(type)` API.
* Add `dbgscript.read_[wide_]string` APIs. These were previously only available
on TypedObject, but now can be invoked at the top-level without an object.

1.0.3 (beta)
------------

Expand Down

0 comments on commit 3b9ab75

Please sign in to comment.