当前位置:网站首页>Define in and define out
Define in and define out
2022-07-05 07:51:00 【Yang_ Winston】
Recently, when looking at the code , I found that there are many variables or functions in front of IN or OUT“ modification ”, This is not a type , Find the definition , Discovery is defined like this :#define IN
At first glance, I don't know what I mean , Different from common macro definitions , Its second value is empty . There is a saying that may explain , Record here .
This is a programming specification
such as #define IN
#define OUT
Define a function int fun(IN char *param,OUT *char result)
Indicates that the first parameter is the incoming parameter , The second parameter is the callback result , because IN OUT Itself is empty , So it doesn't affect the compilation , Just for code specification , Let people more clearly define .
边栏推荐
- The sublime version that XP can run is 3114
- Acwing - the collection of pet elves - (multidimensional 01 Backpack + positive and reverse order + two forms of DP for the answer)
- Batch modify the txt file code to UTF-8 (notepad++)
- String judgment
- PIL's image tool image reduction and splicing.
- A simple method to prove 1/t Fourier transform
- Ads usage skills
- Global and Chinese market of plastic recycling machines 2022-2028: Research Report on technology, participants, trends, market size and share
- Apple animation optimization
- [popular science] some interesting things that I don't know whether they are useful or not
猜你喜欢

Acwing-宠物小精灵之收服-(多维01背包+正序倒序+两种形式dp求答案)

Significance and requirements of semiconductor particle control

Altium designer 19.1.18 - hide the fly line of a network

Oracle-触发器和程序包

Oracle triggers and packages

What is deep learning?

数字孪生实际应用案例-风机篇

Nombre - 1. Création de tableaux

The research found that the cross-border e-commerce customer service system has these five functions!

The folder directly enters CMD mode, with the same folder location
随机推荐
Global and Chinese markets for flexible endoscopic lithotripsy devices 2022-2028: Research Report on technology, participants, trends, market size and share
Leetcode solution - number of islands
The sublime version that XP can run is 3114
Thunderbird tutorial \ easy to use mail client
Apple input method optimization
Threads and processes
Apple terminal skills
Ads usage skills
通过sql语句统计特定字段出现次数并排序
. Net service governance flow limiting middleware -fireflysoft RateLimit
P3D gauge size problem
Global and Chinese market of rammers 2022-2028: Research Report on technology, participants, trends, market size and share
Opendrive arc drawing script
找不到实时聊天软件?给你推荐电商企业都在用的!
[professional literacy] core conferences and periodicals in the field of integrated circuits
Numpy——1.數組的創建
QT excellent articles
mysql 盲注常见函数
Detailed explanation of C language pointer
Deepin, help ('command ') output saved to file