AgoraIO-Extensions / terra

terra is a shell of the code-gen flow
MIT License
2 stars 0 forks source link

fix: Fix can not parse typedef correctly if there are struct/enum/class node before the typedef declaration #38

Closed littleGnAl closed 1 year ago

littleGnAl commented 1 year ago

Based on the current implementation of the logic of the type alias, the code below can not be handled

enum AUDIO_SESSION_OPERATION_RESTRICTION {

  AUDIO_SESSION_OPERATION_RESTRICTION_NONE = 0,
};

typedef const char* user_id_t;
typedef void* view_t;