Skip to content

Commit 638f684

Browse files
committed
Add comment that extension.c should not contain non-trivial logic
1 parent e40bc35 commit 638f684

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/yarp/extension.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#include "yarp/extension.h"
22

3+
// NOTE: this file should contain only bindings.
4+
// All non-trivial logic should be in librubyparser so it can be shared its the various callers.
5+
36
VALUE rb_cYARP;
47
VALUE rb_cYARPSource;
58
VALUE rb_cYARPToken;

0 commit comments

Comments
 (0)