Permalink
Browse files

[doc] Adding some documentation on ATTR declarations in C-PMCs.

git-svn-id: https://svn.parrot.org/parrot/trunk@45262 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent d4aabee commit acbed8c17e0de455a9ad574a45b942344a34e316 @allisonrandal allisonrandal committed Mar 29, 2010
Showing with 12 additions and 1 deletion.
  1. +12 −1 docs/pmc2c.pod
View
@@ -133,10 +133,21 @@ Requires the C<hll> flag. Note that multiple mappings can be specified:
=item 3.
-A list of vtable method implementations
+A list of attribute declarations:
+
+ ATTR INTVAL id;
+
+The ATTR declaration keyword is followed by the type of the attribute and the
+name of the attribute. Any valid C type is a valid attribute type, but only
+INTVAL, FLOATVAL, STRING *, and PMC * can be handled directly from PIR. Other
+types are generally only used by low-level internal PMCs.
=item 4.
+A list of vtable method implementations
+
+=item 5.
+
The final close C<}>
=back

0 comments on commit acbed8c

Please sign in to comment.