What is a “private header” in C?

前端 未结 6 1994
情深已故
情深已故 2020-12-31 10:22

I\'ve been learning C recently, and in one of my textbooks I found a reference to a file with the \".r\" extension. Now, as you can imagine, googling \"r\"

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-31 11:11

    As others have said, .r is not significant. The private header probably just means it's not supposed to be included by anything except the file using it.

    This code snippet looks like it is sort of emulating C++ in C. It is creating a const "Class" object holding the size, constructor, destructor, etc. for the "class" String. This structure holds common class information to be used by this OO library for C.

提交回复
热议问题