repo.or.cz
/
rofl0r-xstring.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial commit
[rofl0r-xstring.git]
/
xchar.c
blob
ee86e50c6fb323f8ebf44a26b6f0e6bb0b98a887
1
#include
"xchar.h"
2
3
bool
xchar_containedin_pointer
(
uchar self
,
uchar
*
data
,
xuint datasize
) {
4
xint i
;
5
for
(
i
=
0
;
i
<
datasize
; ++
i
) {
6
if
(
data
[
i
] ==
self
)
return true
;
7
}
8
return false
;
9
}