<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -55,10 +55,20 @@ need{ 'typedpointer' }
 # 
 # * Implements #to_s and #inspect for nice debugging output.
 # 
+# * Adds ::typed_pointer convenience alias to create a TypedPointer
+#   for this klass.
+#
 class NiceFFI::Struct &lt; FFI::Struct
 
   class &lt;&lt; self
 
+    # Returns a NiceFFI::TypedPointer instance for this class.
+    def typed_pointer
+      @typed_pointer or
+        (@typed_pointer = NiceFFI::TypedPointer.new(self))
+    end
+
+
     # Same syntax as FFI::Struct#layout, but also defines nice
     # accessors for the attributes.
     # </diff>
      <filename>lib/nice-ffi/nicestruct.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6c0a7224a23638f7b0424d39a9049c41bfc2f5df</id>
    </parent>
  </parents>
  <author>
    <name>John Croisant</name>
    <email>jacius@gmail.com</email>
  </author>
  <url>http://github.com/jacius/nice-ffi/commit/ea219b35d23c62bba473310d0f3bd1e212cea38e</url>
  <id>ea219b35d23c62bba473310d0f3bd1e212cea38e</id>
  <committed-date>2009-07-12T21:18:10-07:00</committed-date>
  <authored-date>2009-07-12T21:18:10-07:00</authored-date>
  <message>Added Struct::typed_pointer.</message>
  <tree>ce4bf061916970192d3e991d55158b1144b6c87f</tree>
  <committer>
    <name>John Croisant</name>
    <email>jacius@gmail.com</email>
  </committer>
</commit>
