Skip to content
Extraits de code Groupes Projets
Vérifiée Valider d3031456 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

MISC: Fixing values of the c enums to be sure to have the correct values on the rust side

parent b608a1fd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -9,20 +9,20 @@ extern "C" { ...@@ -9,20 +9,20 @@ extern "C" {
#include <stddef.h> #include <stddef.h>
typedef enum { typedef enum {
URI_NULL = 0, URI_NULL = 0,
URI_ID, URI_ID = 1,
URI_PLAYLIST, URI_PLAYLIST = 2,
URI_TYPE, URI_TYPE = 3,
URI_AUTHOR, URI_AUTHOR = 4,
URI_CATEGORY, URI_CATEGORY = 5,
URI_LANGUAGE, URI_LANGUAGE = 6,
URI_QUERY, URI_QUERY = 7,
} LKT_URI_TYPE; } LKT_URI_TYPE;
typedef enum { typedef enum {
URI_VALUE_TYPE_NULL = 0, URI_VALUE_TYPE_NULL = 0,
URI_VALUE_TYPE_STRING, URI_VALUE_TYPE_STRING = 1,
URI_VALUE_TYPE_INTEGER, URI_VALUE_TYPE_INTEGER = 2,
} LKT_URI_VALUE_TYPE; } LKT_URI_VALUE_TYPE;
struct lkt_uri; /* Hide the implementation of the lkt_uri structure */ struct lkt_uri; /* Hide the implementation of the lkt_uri structure */
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter