diff options
| author | Daniel Bovensiepen <[email protected]> | 2013-01-27 22:00:22 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2013-01-27 22:00:22 +0800 |
| commit | b24d869ab40d17f1387d9e8ffbec1ac57b606972 (patch) | |
| tree | 08a857790179779276d14a7a605c174333f2ea7c /doc/mrbgems/README.md | |
| parent | 437aa216fc9a96d8d4898ff51c0c218670c8b807 (diff) | |
| download | mruby-b24d869ab40d17f1387d9e8ffbec1ac57b606972.tar.gz mruby-b24d869ab40d17f1387d9e8ffbec1ac57b606972.zip | |
Modify code blocks
Diffstat (limited to 'doc/mrbgems/README.md')
| -rw-r--r-- | doc/mrbgems/README.md | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/mrbgems/README.md b/doc/mrbgems/README.md index 49c8f56d1..6c473b57d 100644 --- a/doc/mrbgems/README.md +++ b/doc/mrbgems/README.md @@ -99,13 +99,10 @@ mrbgems expects that you have implemented a C method called by the name of your GEM. If you call your GEM *c_extension_example*, your finalizer method could look like this: -``` -void -mrb_c_extension_example_gem_final(mrb_state* mrb) { - free(someone); -} -``` - + void + mrb_c_extension_example_gem_final(mrb_state* mrb) { + free(someone); + } ### Example |
