当前位置:网站首页>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 .
边栏推荐
- Ten thousand words detailed eight sorting must read (code + dynamic diagram demonstration)
- Altium Designer 19.1.18 - 隐藏某一个网络的飞线
- Win10 shortcut key
- [popular science] some interesting things that I don't know whether they are useful or not
- Global and Chinese market of urban rail connectors 2022-2028: Research Report on technology, participants, trends, market size and share
- IC software learning
- How to realize audit trail in particle counter software
- Charles- unable to grab bags and surf the Internet
- Differences between pycharm and idle and process -- join() in vs Code
- MySQL - storage engine
猜你喜欢
Altium designer 19.1.18 - hide the fly line of a network
数字孪生实际应用案例-风机篇
Oracle triggers and packages
Altium Designer 19.1.18 - 隐藏某一个网络的飞线
Thunderbird tutorial \ easy to use mail client
MySql——存储引擎
Numpy——1.數組的創建
如何将EasyCVR平台RTSP接入的设备数据迁移到EasyNVR中?
Acwing - the collection of pet elves - (multidimensional 01 Backpack + positive and reverse order + two forms of DP for the answer)
Leetcode solution - number of islands
随机推荐
Anaconda pyhton multi version switching
Oracle-触发器和程序包
II Simple NSIS installation package
From then on, I understand convolutional neural network (CNN)
数字孪生实际应用案例-风机篇
Exit of pyGame, idle and pycharm
GPIO circuit principle of stm32
Global and Chinese markets for medical oxygen machines 2022-2028: Research Report on technology, participants, trends, market size and share
The global and Chinese market of lithographic labels 2022-2028: Research Report on technology, participants, trends, market size and share
Detailed explanation of C language pointer
Rename directory in C [closed] - renaming a directory in C [closed]
[MySQL] database knowledge record
[neo4j] common operations of neo4j cypher and py2neo
研究發現,跨境電商客服系統都有這五點功能!
Global and Chinese market of digital shore durometer 2022-2028: Research Report on technology, participants, trends, market size and share
Ten thousand words detailed eight sorting must read (code + dynamic diagram demonstration)
Pointnet++ classification practice
With the help of Navicat for MySQL software, the data of a database table in different or the same database link is copied to another database table
Realization of binary relation of discrete mathematics with C language and its properties
Charles- unable to grab bags and surf the Internet