Get rid of .internal.h convention in LIBC_INTRIN

This commit is contained in:
Justine Tunney 2024-07-19 19:36:25 -07:00
parent 0ed916ad5c
commit 86d884cce2
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
591 changed files with 773 additions and 773 deletions

10
libc/intrin/iscall.h Normal file
View file

@ -0,0 +1,10 @@
#ifndef COSMOPOLITAN_LIBC_INTRIN_ISCALL_H_
#define COSMOPOLITAN_LIBC_INTRIN_ISCALL_H_
COSMOPOLITAN_C_START_
// returns true if `p` is preceded by x86 call instruction
// this is actually impossible to do but we'll do our best
int __is_call(const unsigned char *);
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_INTRIN_ISCALL_H_ */