This is a simple game I'm writing to test the idea of using games to teach C++.
https://learncodethehardway.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
661 B
24 lines
661 B
5 months ago
|
--- subprojects/libgit2-1.8.0/src/util/process.h 2024-03-20 16:19:37.000000000 -0400
|
||
|
+++ process.h 2024-05-09 08:05:48.279986200 -0400
|
||
|
@@ -8,6 +8,8 @@
|
||
|
#ifndef INCLUDE_process_h__
|
||
|
#define INCLUDE_process_h__
|
||
|
|
||
|
+typedef struct git_str git_str;
|
||
|
+
|
||
|
typedef struct git_process git_process;
|
||
|
|
||
|
typedef struct {
|
||
|
@@ -112,10 +114,7 @@
|
||
|
* cmdline arguments to ensure that they are not erroneously treated
|
||
|
* as an option. For example, arguments to `ssh`.
|
||
|
*/
|
||
|
-GIT_INLINE(bool) git_process__is_cmdline_option(const char *str)
|
||
|
-{
|
||
|
- return (str && str[0] == '-');
|
||
|
-}
|
||
|
+#define git_process__is_cmdline_option(str) ((str) && (str[0]) == '-')
|
||
|
|
||
|
/**
|
||
|
* Start the process.
|