diff options
author | Benoit Daloze <[email protected]> | 2023-07-29 16:55:48 +0200 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-08-16 17:47:32 -0700 |
commit | 7cc5b22bbc2768cb9280fcd879cc934b0f44deeb (patch) | |
tree | f6148bf4680821f2322163c5f3815032c231c771 /yarp/extension.c | |
parent | e712bc9b937c7b9c2993f0d3289f64bb81c70970 (diff) |
[ruby/yarp] Add comment that extension.c should not contain non-trivial logic
https://github.com/ruby/yarp/commit/638f6849be
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
Diffstat (limited to 'yarp/extension.c')
-rw-r--r-- | yarp/extension.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yarp/extension.c b/yarp/extension.c index a189b1a876..1044dc3d08 100644 --- a/yarp/extension.c +++ b/yarp/extension.c @@ -1,5 +1,8 @@ #include "yarp/extension.h" +// NOTE: this file should contain only bindings. +// All non-trivial logic should be in librubyparser so it can be shared its the various callers. + VALUE rb_cYARP; VALUE rb_cYARPSource; VALUE rb_cYARPToken; |