Commit e778cade authored by George Nash's avatar George Nash Committed by Rick Bell

don't generat SWIG code for bitmask data types

Our scirpts always copy the hand made bitmasks over top
of the ones generated by swig so we missed that they were
being generated twice. If the order the command are run is
reversed it will cause issues because we will get the SWIG
output not the hand crafted output that is expected.

Change-Id: I3ea3fe3121490056f1e1c721342ddc450ec11d32
Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/29457Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
Reviewed-by: Larry Sachs's avatarLarry Sachs <larry.j.sachs@intel.com>
Reviewed-by: default avatarRick Bell <richard.s.bell@intel.com>
parent ffc8f5a3
......@@ -22,7 +22,7 @@
#include "oc_pki.h"
%}
%rename (OCSpTypesMask) oc_sp_types_t;
%ignore oc_sp_types_t;
%apply (const unsigned char * BYTE, size_t LENGTH) { (const unsigned char *cert, size_t cert_size) };
%apply (const unsigned char * BYTE, size_t LENGTH) { (const unsigned char *key, size_t key_size) };
......
......@@ -54,16 +54,7 @@ typedef struct
oc_response_buffer_t *response_buffer;
} oc_response_t;
%rename (OCInterfaceMask) oc_interface_mask_t;
typedef enum {
OC_IF_BASELINE = 1 << 1,
OC_IF_LL = 1 << 2,
OC_IF_B = 1 << 3,
OC_IF_R = 1 << 4,
OC_IF_RW = 1 << 5,
OC_IF_A = 1 << 6,
OC_IF_S = 1 << 7,
} oc_interface_mask_t;
%ignore oc_interface_mask_t;
%rename (OCMethod) oc_method_t;
typedef enum {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment