Skip to content

Commit

Permalink
add build to .gitignore and enclose typedefs with namespace in basic_…
Browse files Browse the repository at this point in the history
…type.hxx (#146)

* add build to .gitignore

* enclose typedefs with namespace in basic_type.hxx

Co-authored-by: Curtis Lo <curtis.lo@gwghk.com>
Co-authored-by: Jung-Sang Ahn <jungsang.ahn@gmail.com>
  • Loading branch information
3 people authored Oct 21, 2020
1 parent 73858a6 commit 7501788
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode/
build
debug/
Debug/
.vs/
Expand Down
4 changes: 4 additions & 0 deletions include/libnuraft/basic_types.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ limitations under the License.

#include <cstdint>

namespace nuraft {

typedef uint64_t ulong;
typedef int64_t int64;
typedef void* any_ptr;
Expand All @@ -31,4 +33,6 @@ typedef uint16_t ushort;
typedef uint32_t uint;
typedef int32_t int32;

}

#endif // _BASIC_TYPES_HXX_

0 comments on commit 7501788

Please sign in to comment.