[ruby/yarp] Add comment that extension.c should not contain non-trivial logic

https://github.com/ruby/yarp/commit/638f6849be
This commit is contained in:
Benoit Daloze 2023-07-29 16:55:48 +02:00 committed by Takashi Kokubun
parent e712bc9b93
commit 7cc5b22bbc
Notes: git 2023-08-17 00:48:11 +00:00

View File

@ -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;