Skip to content

Commit

Permalink
Revert "Added GenTL namespace when using respective code."
Browse files Browse the repository at this point in the history
This reverts commit 1e1cd1a.
  • Loading branch information
feuerste authored and EmmanuelP committed Nov 27, 2023
1 parent 1e1cd1a commit 9b66593
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions src/arvgentldeviceprivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,11 @@
#include <arvgentlsystemprivate.h>

G_BEGIN_DECLS
#ifdef G_CXX_STD_VERSION
namespace GenTL {
#endif

ArvGenTLSystem * arv_gentl_device_get_system (ArvGenTLDevice *device);
DS_HANDLE arv_gentl_device_open_stream_handle (ArvGenTLDevice *device);
uint64_t arv_gentl_device_get_timestamp_tick_frequency (ArvGenTLDevice *device);

#ifdef G_CXX_STD_VERSION
} /* end of namespace GenTL */
#endif
G_END_DECLS

#endif
6 changes: 0 additions & 6 deletions src/arvgentlsystemprivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
#include <GenTL_v1_5.h>

G_BEGIN_DECLS
#ifdef G_CXX_STD_VERSION
namespace GenTL {
#endif

typedef struct {
/* Global functions */
Expand Down Expand Up @@ -125,9 +122,6 @@ void arv_gentl_system_close_device_handle (ArvGenTLSystem *system,
const char *interface_id,
DEV_HANDLE *device_handle);

#ifdef G_CXX_STD_VERSION
} /* end of namespace GenTL */
#endif
G_END_DECLS

#endif
6 changes: 0 additions & 6 deletions src/arvmiscprivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,7 @@ ARV_API const char * arv_vendor_alias_lookup (const char *vendor
const char * arv_protocol_from_transport_layer_type (const char *transport_layer_type);
const char * arv_protocol_to_transport_layer_type (const char *protocol);

#ifdef G_CXX_STD_VERSION
namespace GenTL {
#endif
const char * arv_gentl_gc_error_to_string (GC_ERROR error);
#ifdef G_CXX_STD_VERSION
} /* end of namespace GenTL */
#endif

/* this only wraps g_get_monotonic_time on non-windows platforms */
gint64 arv_monotonic_time_us (void);
Expand Down

0 comments on commit 9b66593

Please sign in to comment.