text: /* This file is generated from specs/discord/user.modify-curent-user.json, Please don't edit it. */
  /*
  
  */
  
  /* https://discord.com/developers/docs/resources/user#modify-current-user */
  /* This is defined at specs/discord/user.modify-curent-user.json:8:22 */
  struct discord_modify_current_user_params {
    /* specs/discord/user.modify-curent-user.json:11:20
       '{ "name": "username", "type":{ "base":"char", "dec":"*" }}'
    */
    char *username;
  
    /* specs/discord/user.modify-curent-user.json:12:20
       '{ "name": "avatar", "type":{ "base":"char", "dec":"*"}, "comment":"base64 encoded image data"}'
    */
    char *avatar; // base64 encoded image data
  
    // The following is metadata used to 
    // 1. control which field should be extracted/injected
    // 2. record which field is presented(defined) in JSON
    // 3. record which field is null in JSON
    struct {
      bool enable_arg_switches;
      bool enable_record_defined;
      bool enable_record_null;
      void *arg_switches[2];
      void *record_defined[2];
      void *record_null[2];
    } __M; // metadata
  };
  extern void discord_modify_current_user_params_cleanup_v(void *p);
  extern void discord_modify_current_user_params_cleanup(struct discord_modify_current_user_params *p);
  extern void discord_modify_current_user_params_init_v(void *p);
  extern void discord_modify_current_user_params_init(struct discord_modify_current_user_params *p);
  extern struct discord_modify_current_user_params * discord_modify_current_user_params_alloc();
  extern void discord_modify_current_user_params_free_v(void *p);
  extern void discord_modify_current_user_params_free(struct discord_modify_current_user_params *p);
  extern void discord_modify_current_user_params_from_json_v(char *json, size_t len, void *p);
  extern void discord_modify_current_user_params_from_json(char *json, size_t len, struct discord_modify_current_user_params *p);
  extern size_t discord_modify_current_user_params_to_json_v(char *json, size_t len, void *p);
  extern size_t discord_modify_current_user_params_to_json(char *json, size_t len, struct discord_modify_current_user_params *p);
  extern size_t discord_modify_current_user_params_to_query_v(char *json, size_t len, void *p);
  extern size_t discord_modify_current_user_params_to_query(char *json, size_t len, struct discord_modify_current_user_params *p);
  extern void discord_modify_current_user_params_list_free_v(void **p);
  extern void discord_modify_current_user_params_list_free(struct discord_modify_current_user_params **p);
  extern void discord_modify_current_user_params_list_from_json_v(char *str, size_t len, void *p);
  extern void discord_modify_current_user_params_list_from_json(char *str, size_t len, struct discord_modify_current_user_params ***p);
  extern size_t discord_modify_current_user_params_list_to_json_v(char *str, size_t len, void *p);
  extern size_t discord_modify_current_user_params_list_to_json(char *str, size_t len, struct discord_modify_current_user_params **p);
  