Remove unused nesting in behavior struct.
This commit is contained in:
@@ -27,9 +27,10 @@ enum libab_operator_variant_e {
|
||||
enum libab_behavior_variant_e { BIMPL_INTERNAL, BIMPL_TREE };
|
||||
|
||||
/**
|
||||
* A struct that represents the implementation of a behavior.
|
||||
* The common information
|
||||
* that both operators and functions shared.
|
||||
*/
|
||||
struct libab_behavior_impl_s {
|
||||
struct libab_behavior_s {
|
||||
/**
|
||||
* The variant of this implementation.
|
||||
*/
|
||||
@@ -46,16 +47,6 @@ struct libab_behavior_impl_s {
|
||||
} data_u;
|
||||
};
|
||||
|
||||
/**
|
||||
* The common information
|
||||
* that both operators and functions shared.
|
||||
*/
|
||||
struct libab_behavior_s {
|
||||
/**
|
||||
* The implementation of this behavior.
|
||||
*/
|
||||
struct libab_behavior_impl_s impl;
|
||||
};
|
||||
/**
|
||||
* A struct that holds informatiion
|
||||
* about an operator that has been
|
||||
@@ -100,7 +91,6 @@ struct libab_function_s {
|
||||
|
||||
typedef enum libab_operator_variant_e libab_operator_variant;
|
||||
typedef enum libab_behavior_variant_e libab_behavior_variant;
|
||||
typedef struct libab_behavior_impl_s libab_behavior_impl;
|
||||
typedef struct libab_behavior_s libab_behavior;
|
||||
typedef struct libab_operator_s libab_operator;
|
||||
typedef struct libab_function_s libab_function;
|
||||
|
||||
Reference in New Issue
Block a user