extern bi_

This commit is contained in:
dzaima 2021-05-24 00:35:35 +03:00
parent 6869c7d919
commit 39f9060224
2 changed files with 14 additions and 3 deletions

View File

@ -199,13 +199,13 @@ static char* format_pm2(u8 u) {
}
}
#define F(N,X) B bi_##N;
#define F(N,X) extern B bi_##N;
FOR_PFN(F)
#undef F
#define F(N,X) B bi_##N;
#define F(N,X) extern B bi_##N;
FOR_PM1(F)
#undef F
#define F(N,X) B bi_##N;
#define F(N,X) extern B bi_##N;
FOR_PM2(F)
#undef F

View File

@ -2,6 +2,17 @@
#include "vm.h"
#include "utils/file.h"
#define F(N,X) B bi_##N;
FOR_PFN(F)
#undef F
#define F(N,X) B bi_##N;
FOR_PM1(F)
#undef F
#define F(N,X) B bi_##N;
FOR_PM2(F)
#undef F
B rtPerf_wrap(B x); // consumes
_Thread_local B comp_currPath;