Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* this is C code test.c */
- #include <math.h>
- #include <stdio.h>
- void custom() {
- printf("Hello world !");
- }
- =======================================
- # Now calling via nativecall in raku
- use NativeCall;
- sub custom() is native('libtest') { * };
- say custom()
- ===================================
- I get this output:
- (Mu)
- Hello world !
- Why is this (Mu). How to stop it from appearing ?
Add Comment
Please, Sign In to add comment