blob: 55051fde5672e6c06212695eb38199b9f7495ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// SPDX-License-Identifier: Apache-2.0
// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (See accompanying
// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
// Official repository: https://github.com/ne-foss-org/nectar
#ifndef NECTAR_GL_SWAP_NHH
#define NECTAR_GL_SWAP_NHH
//@ Free swap functions for GenericsLibrary.
let swap(let a, let b)
{
let temp := a;
a := b;
b := temp;
return temp;
}
#endif //@ NECTAR_GL_SWAP_NHH
|