summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-29 16:04:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-29 16:04:58 +0200
commit0522ef2ec6de1bc35721613ded92c832930e9a9e (patch)
treed4b7ca32558895da812733af8d48f94ab34bbd95 /ftnoir_tracker_ht
parent6fdcf9004e0aafb796592ab5120f1bd90190e2c3 (diff)
Correct prototypes
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index 5c5f7386..b925b6c2 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -291,9 +291,9 @@ extern "C" FTNOIR_TRACKER_BASE_EXPORT Metadata* CALLING_CONVENTION GetMetadata()
//#pragma comment(linker, "/export:GetTracker=_GetTracker@0")
-extern "C" FTNOIR_TRACKER_BASE_EXPORT void* CALLING_CONVENTION GetConstructor()
+extern "C" FTNOIR_TRACKER_BASE_EXPORT ITracker* CALLING_CONVENTION GetConstructor()
{
- return (ITracker*) new Tracker;
+ return new Tracker;
}
////////////////////////////////////////////////////////////////////////////////
@@ -305,9 +305,9 @@ extern "C" FTNOIR_TRACKER_BASE_EXPORT void* CALLING_CONVENTION GetConstructor()
// _GetTrackerDialog@0 - Common name decoration for __stdcall functions in C language.
//#pragma comment(linker, "/export:GetTrackerDialog=_GetTrackerDialog@0")
-extern "C" FTNOIR_TRACKER_BASE_EXPORT void* CALLING_CONVENTION GetDialog( )
+extern "C" FTNOIR_TRACKER_BASE_EXPORT ITrackerDialog* CALLING_CONVENTION GetDialog( )
{
- return (ITrackerDialog*) new TrackerControls;
+ return new TrackerControls;
}
void TrackerControls::cameraSettings() {