Skip to content

Commit

Permalink
Add "struct" to typedefs.
Browse files Browse the repository at this point in the history
This is more C-like.  From OpenNI#62

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Oct 31, 2020
1 parent 5867f8c commit b1f495c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Include/OniCTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ typedef struct
} OniDeviceInfo;

struct _OniDevice;
typedef _OniDevice* OniDeviceHandle;
typedef struct _OniDevice* OniDeviceHandle;

struct _OniStream;
typedef _OniStream* OniStreamHandle;
typedef struct _OniStream* OniStreamHandle;

struct _OniRecorder;
typedef _OniRecorder* OniRecorderHandle;
typedef struct _OniRecorder* OniRecorderHandle;

/** All information of the current frame */
typedef struct
Expand Down

0 comments on commit b1f495c

Please sign in to comment.