summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api/opentrack.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-30 23:09:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-30 23:09:36 +0100
commit657cf32cb57257556c26f702e9e09b0edb15f350 (patch)
tree7ce5f6642a3be972c37da9822c123dd61093c9b0 /opentrack-api/opentrack.h
parentfde903fda58eb715147150c8dbc2e16970ab1761 (diff)
make standalone libopentrack-api.so work
Diffstat (limited to 'opentrack-api/opentrack.h')
-rw-r--r--opentrack-api/opentrack.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/opentrack-api/opentrack.h b/opentrack-api/opentrack.h
index 1c8fcee5..63136abc 100644
--- a/opentrack-api/opentrack.h
+++ b/opentrack-api/opentrack.h
@@ -6,9 +6,9 @@ extern "C" {
#ifndef IN_OPENTRACK
/* opaque pointers, forward definitions */
struct opentrack_opaque_ctx;
-typedef opentrack_opaque_ctx* opentrack;
+typedef struct opentrack_opaque_ctx* opentrack;
struct opentrack_opaque_tracker;
-typedef opentrack_opaque_tracker* opentrack_tracker;
+typedef struct opentrack_opaque_tracker* opentrack_tracker;
#endif
#ifdef IN_OPENTRACK
@@ -42,7 +42,7 @@ enum opentrack_dof {
};
#endif
-opentrack opentrack_make_ctx(const char* dir);
+opentrack opentrack_make_ctx(int argc, char** argv, void* window_parent);
void opentrack_finalize_ctx(opentrack self);
/* no need to free the return value; invalid to modify it */