Initial import
This commit is contained in:
8
libc/conv/isslash.h
Normal file
8
libc/conv/isslash.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_CONV_ISSLASH_H_
|
||||
#define COSMOPOLITAN_LIBC_CONV_ISSLASH_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
forceinline bool isslash(int c) { return c == '/' || c == '\\'; }
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_CONV_ISSLASH_H_ */
|
||||
Reference in New Issue
Block a user