aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/src/Wire.cpp
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2020-09-17 19:29:31 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2020-09-17 19:32:29 +0200
commit9a02bd8043c41f6ee57f136083ffc8bf8ec2bdc9 (patch)
tree9b5a0694a5b00c6543edc0629e24ca4e6495dd71 /libraries/Wire/src/Wire.cpp
parent3055c1efa3c6980c864f661e6c8cc5d5ac773af4 (diff)
Swap new and new.h header files
Originally, the Arduino core used "new.h", rather than the standard "new", probably because the implementation was incomplete, and for the most commonly used new and delete operators, no include is needed at all (they are defined implicitly by the compiler). However, now Arduino does expose the "new" name, as an alias for the older "new.h". Given that the standard name is "new", it makes more sense to put the actual content in "new", and make "new.h" a compatibility header that includes "new" instead of the other way around.
Diffstat (limited to 'libraries/Wire/src/Wire.cpp')
0 files changed, 0 insertions, 0 deletions