summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-07-18 19:32:25 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-07-18 19:32:25 -0700
commitbc843ed9272d9733cafea7df130134264d15d6d9 (patch)
tree5606bf136e6dfc5723d52b6ba3abfbac01d75e79 /include
parent88731e1756653da09e0497d7e83dc522f4767136 (diff)
parentf05580f1bc3bf22c54b4f9f3c2e3d55020e579bf (diff)
downloadmruby-bc843ed9272d9733cafea7df130134264d15d6d9.tar.gz
mruby-bc843ed9272d9733cafea7df130134264d15d6d9.zip
Merge pull request #1382 from suzukaze/add-comments
Add comments in irep.h
Diffstat (limited to 'include')
-rw-r--r--include/mruby/irep.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index 856b12099..498b58ca3 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -11,10 +11,11 @@
extern "C" {
#endif
+/* Program data array struct */
typedef struct mrb_irep {
uint32_t idx;
- uint16_t nlocals;
- uint16_t nregs;
+ uint16_t nlocals; /* Number of local variables */
+ uint16_t nregs; /* Number of register variables */
uint8_t flags;
mrb_code *iseq;