qingwuzhang
V2EX  ›  C

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

  •  
  •   qingwuzhang · Feb 26, 2017 · 2266 views
    This topic created in 3362 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   ·   5913 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 02:34 · PVG 10:34 · LAX 19:34 · JFK 22:34
    ♥ Do have faith in what you're doing.