diff options
Diffstat (limited to 'src/math-variables.h')
-rw-r--r-- | src/math-variables.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/math-variables.h b/src/math-variables.h index b2317b0..dab20a0 100644 --- a/src/math-variables.h +++ b/src/math-variables.h @@ -28,25 +28,23 @@ G_BEGIN_DECLS typedef struct MathVariablesPrivate MathVariablesPrivate; -typedef struct -{ - GObject parent_instance; - MathVariablesPrivate *priv; +typedef struct { + GObject parent_instance; + MathVariablesPrivate* priv; } MathVariables; -typedef struct -{ - GObjectClass parent_class; +typedef struct { + GObjectClass parent_class; } MathVariablesClass; GType math_variables_get_type(void); -MathVariables *math_variables_new(void); +MathVariables* math_variables_new(void); -gchar **math_variables_get_names(MathVariables *variables); +gchar** math_variables_get_names(MathVariables* variables); -void math_variables_set_value(MathVariables *variables, const char *name, const MPNumber *value); +void math_variables_set_value(MathVariables* variables, const char* name, const MPNumber* value); -MPNumber *math_variables_get_value(MathVariables *variables, const char *name); +MPNumber* math_variables_get_value(MathVariables* variables, const char* name); #endif /* MATH_VARIABLES_H */ |