diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-05-15 18:04:57 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:20:53 +0900 |
| commit | 246c76e261ee033210527cfcd37c8eb4bfe680c7 (patch) | |
| tree | e762576d908e093025eb22404344dbed5842a8eb /src/enum.c | |
| parent | 6128ae61a81d12892eac5397af74e4ce6ab99b06 (diff) | |
| download | mruby-246c76e261ee033210527cfcd37c8eb4bfe680c7.tar.gz mruby-246c76e261ee033210527cfcd37c8eb4bfe680c7.zip | |
Rename `MRB_OPSYM()` to `MRB_QSYM()`.
Where `QSYM` means quoted symbols, which cannot be represented C
symbols, so specify aliases instead.
- operators: name of the operation, e.g. add for `+`
- predicates: add `_p` suffix instead of `?`
- bang methods: add `_b` suffix instead of `!`
- instance variables: add `a_` prefix instead of `@`
- global variables: add `d_` prefix instead of `@`
- class variables: unsupported; don't use them
Diffstat (limited to 'src/enum.c')
0 files changed, 0 insertions, 0 deletions
