Dan Kegel : vcomp: Better stubs for omp_get_nested, omp_set_nested.
Alexandre Julliard
julliard at winehq.org
Tue Oct 2 14:09:39 CDT 2012
Module: wine
Branch: master
Commit: 15b59d75c65457e72ce6f1836edc208c336a3b6f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=15b59d75c65457e72ce6f1836edc208c336a3b6f
Author: Dan Kegel <dank at kegel.com>
Date: Sat Sep 29 20:20:40 2012 -0700
vcomp: Better stubs for omp_get_nested, omp_set_nested.
---
dlls/vcomp/main.c | 11 +++++++++++
dlls/vcomp/vcomp.spec | 4 ++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c
index 1f80563..b758fbd 100644
--- a/dlls/vcomp/main.c
+++ b/dlls/vcomp/main.c
@@ -41,6 +41,12 @@ int CDECL omp_get_max_threads(void)
return 1;
}
+int CDECL omp_get_nested(void)
+{
+ TRACE("stub\n");
+ return 0;
+}
+
int CDECL omp_get_num_procs(void)
{
TRACE("stub\n");
@@ -64,6 +70,11 @@ void CDECL omp_set_dynamic(int val)
TRACE("(%d): stub\n", val);
}
+void CDECL omp_set_nested(int nested)
+{
+ TRACE("(%d): stub\n", nested);
+}
+
void CDECL omp_set_num_threads(int num_threads)
{
TRACE("(%d): stub\n", num_threads);
diff --git a/dlls/vcomp/vcomp.spec b/dlls/vcomp/vcomp.spec
index ce66c52..1b58b25 100644
--- a/dlls/vcomp/vcomp.spec
+++ b/dlls/vcomp/vcomp.spec
@@ -92,7 +92,7 @@
@ stub omp_destroy_nest_lock
@ cdecl omp_get_dynamic()
@ cdecl omp_get_max_threads()
-@ stub omp_get_nested
+@ cdecl omp_get_nested()
@ cdecl omp_get_num_procs()
@ cdecl omp_get_num_threads()
@ stub omp_get_thread_num
@@ -104,7 +104,7 @@
@ cdecl omp_set_dynamic(long)
@ stub omp_set_lock
@ stub omp_set_nest_lock
-@ stub omp_set_nested
+@ cdecl omp_set_nested(long)
@ cdecl omp_set_num_threads(long)
@ stub omp_test_lock
@ stub omp_test_nest_lock
More information about the wine-cvs
mailing list