first bit of doc generation

parent 99715a2e
......@@ -30,5 +30,6 @@ tags
/benchmark/*.png
/doc/api
/doxygen/
/src/y.tab.c
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,6 +2,8 @@
# We provide a minimalistic version called minirake inside of our
# codebase.
-include Makefile.doc
RAKE = ruby ./minirake
all :
......@@ -12,6 +14,6 @@ test : all
$(RAKE) test
.PHONY : test
clean :
clean : docsclean
$(RAKE) clean
.PHONY : clean
SRCS=$(shell find src -name '*.c')
HEADERS=$(shell find include -name '*.h')
doxygen : Doxyfile $(SRCS) $(HEADERS)
doxygen Doxyfile
docs : doxygen
docserver : docs
firefox doxygen/html/index.html
docsclean :
rm -r doxygen
.PHONY : docserver docsclean
......@@ -8,11 +8,11 @@
#define MRUBY_OBJECT_H
#define MRB_OBJECT_HEADER \
enum mrb_vtype tt:8;\
uint32_t color:3;\
uint32_t flags:21;\
struct RClass *c;\
struct RBasic *gcnext
enum mrb_vtype tt:8; \
uint32_t color:3; \
uint32_t flags:21; \
struct RClass *c; \
struct RBasic *gcnext \
#define MRB_FLAG_TEST(obj, flag) ((obj)->flags & (flag))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment