V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
qingwuzhang
V2EX  ›  C

[求助] 在头文件中查找结构体定义,并输出的问题

  •  
  •   qingwuzhang · Feb 26, 2017 · 2229 views
    This topic created in 3346 days ago, the information mentioned may be changed or developed.
    有 100 多个 c 语言头文件,里面包括宏定义,结构体定义。现在知道约 50 个结构体的名字,这些结构体也引用了其他结构体。要求查找这些头文件,将这些结构体的定义,包括引用到的其他结构体定义,宏定义输出到一个文件。大家有什么好的思路吗?谢谢各位 V 友!
    2 replies    2017-02-27 09:34:42 +08:00
    bp0
        1
    bp0  
       Feb 26, 2017 via Android
    Doxygen
    allenx
        2
    allenx  
       Feb 27, 2017
    gcc -i x.c
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6117 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 02:45 · PVG 10:45 · LAX 19:45 · JFK 22:45
    ♥ Do have faith in what you're doing.