Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
afffa2c5
Commit
afffa2c5
authored
Sep 19, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added interp_me implementation.
parent
eef966fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
interp.c
dlls/vbscript/interp.c
+8
-2
lang.vbs
dlls/vbscript/tests/lang.vbs
+10
-0
No files found.
dlls/vbscript/interp.c
View file @
afffa2c5
...
@@ -710,8 +710,14 @@ static HRESULT interp_stop(exec_ctx_t *ctx)
...
@@ -710,8 +710,14 @@ static HRESULT interp_stop(exec_ctx_t *ctx)
static
HRESULT
interp_me
(
exec_ctx_t
*
ctx
)
static
HRESULT
interp_me
(
exec_ctx_t
*
ctx
)
{
{
FIXME
(
"
\n
"
);
VARIANT
v
;
return
E_NOTIMPL
;
TRACE
(
"
\n
"
);
IDispatch_AddRef
(
ctx
->
this_obj
);
V_VT
(
&
v
)
=
VT_DISPATCH
;
V_DISPATCH
(
&
v
)
=
ctx
->
this_obj
;
return
stack_push
(
ctx
,
&
v
);
}
}
static
HRESULT
interp_bool
(
exec_ctx_t
*
ctx
)
static
HRESULT
interp_bool
(
exec_ctx_t
*
ctx
)
...
...
dlls/vbscript/tests/lang.vbs
View file @
afffa2c5
...
@@ -620,6 +620,16 @@ Call ok(not (x is Nothing), "x is 1")
...
@@ -620,6 +620,16 @@ Call ok(not (x is Nothing), "x is 1")
Call
ok
(
Nothing
is
Nothing
,
"Nothing is not Nothing"
)
Call
ok
(
Nothing
is
Nothing
,
"Nothing is not Nothing"
)
Call
ok
(
x
is
obj
and
true
,
"x is obj and true is false"
)
Call
ok
(
x
is
obj
and
true
,
"x is obj and true is false"
)
Class
TestMe
Public
Sub
Test
(
MyMe
)
Call
ok
(
Me
is
MyMe
,
"Me is not MyMe"
)
End
Sub
End
Class
Set
obj
=
New
TestMe
Call
obj
.
test
(
obj
)
Call
ok
(
getVT
(
test
)
=
"VT_DISPATCH"
,
"getVT(test) = "
&
getVT
(
test
))
Call
ok
(
getVT
(
test
)
=
"VT_DISPATCH"
,
"getVT(test) = "
&
getVT
(
test
))
Call
ok
(
Me
is
Test
,
"Me is not Test"
)
reportSuccess
()
reportSuccess
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment