Miscellaneous Utility Functions

Miscellaneous Utility Functions — Various utility functions

Functions

void exo_noop ()
gint exo_noop_one ()
gint exo_noop_zero ()
gpointer exo_noop_null ()
gboolean exo_noop_true ()
gboolean exo_noop_false ()

Includes

#include <exo/exo.h>

Description

This module contains various utility functions that extend the basic utility functions provided by the GLib library.

Functions

exo_noop ()

void
exo_noop (void);

exo_noop is deprecated and should not be used in newly-written code.

xfce 4.18: Use NULL pointer instead

This function has no effect. It does nothing but returning instantly. It is mostly useful in situations that require a function to be called, but that function does not need to do anything useful.

Since: 0.3.1


exo_noop_one ()

gint
exo_noop_one (void);

exo_noop_one is deprecated and should not be used in newly-written code.

xfce 4.18: Use NULL pointer instead

This function has no effect but simply returns the integer value 1. It is mostly useful in situations where you just need a function that returns 1, but don't want to perform any other actions.

Returns

the integer value 1.

Since: 0.3.1


exo_noop_zero ()

gint
exo_noop_zero (void);

exo_noop_zero is deprecated and should not be used in newly-written code.

xfce 4.18: Use NULL pointer instead

This function has no effect but simply returns the integer value 0. It is mostly useful in situations where you just need a function that returns 0, but don't want to perform any other actions.

Returns

the integer value 0.

Since: 0.3.1


exo_noop_null ()

gpointer
exo_noop_null (void);

exo_noop_null is deprecated and should not be used in newly-written code.

xfce 4.18: Use NULL pointer instead

This function has no effect but simply returns a NULL pointer. It is mostly useful in situations where you just need a function that returns NULL, but don't want to perform any other actions.

Returns

a NULL pointer.

Since: 0.3.1


exo_noop_true ()

gboolean
exo_noop_true (void);

exo_noop_true is deprecated and should not be used in newly-written code.

xfce 4.18: Use NULL pointer instead

This function has no effect, but simply returns the boolean value TRUE. It is mostly useful in situations where you just need a function that returns TRUE, but don't want to perform any other actions.

Returns

the boolean value TRUE.

Since: 0.3.1


exo_noop_false ()

gboolean
exo_noop_false (void);

exo_noop_false is deprecated and should not be used in newly-written code.

xfce 4.18: Use NULL pointer instead

This function has no effect, but simply returns the boolean value FALSE. It is mostly useful in situations where you just need a function that returns FALSE, but don't want to perform any other actions.

Returns

the boolean value FALSE.

Since: 0.3.1

See Also

GLib Atomic Operations