repo.or.cz
/
lqt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
output is split over several files
[lqt.git]
/
generator
/
qt_internal.lua
blob
cebdf6810258928cde2ac220f27e77cb68f834fa
1
2
local
classes
,
enums
= ...
3
local
ret1
,
ret2
= {}, {}
4
5
for
c
in
pairs
(
classes
)
do
6
local
n
=
c
.
xarg
.
name
7
if
n
~=
string
.
lower
(
n
)
and not
string
.
match
(
n
,
'_'
)
then
8
ret1
[
c
] =
true
9
end
10
end
11
12
for
e
in
pairs
(
enums
)
do
13
local
n
=
e
.
xarg
.
name
14
if
n
~=
string
.
lower
(
n
)
and not
string
.
match
(
n
,
'_'
)
then
15
ret2
[
e
] =
true
16
end
17
end
18
19
return
ret1
,
ret2
20