Skip to content

Commit 67a763a

Browse files
author
Your Name
committed
fix syntax error
1 parent 83ca726 commit 67a763a

File tree

2 files changed

+26
-14
lines changed

2 files changed

+26
-14
lines changed

README.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ file).
108108
### Add as subproject with cmake and git
109109

110110
``` bash
111-
git submodule add -f --name "mulle-core" \
112-
"https://github.com/mulle-core/mulle-core.git" \
113-
"stash/mulle-core"
114111
git submodule add -f --name "mulle-objc-runtime" \
115112
"https://github.com/mulle-objc/mulle-objc-runtime.git" \
116113
"stash/mulle-objc-runtime"
@@ -127,35 +124,49 @@ git submodule update --init --recursive
127124
add_subdirectory( stash/MulleObjC)
128125
add_subdirectory( stash/mulle-objc-debug)
129126
add_subdirectory( stash/mulle-objc-runtime)
130-
add_subdirectory( stash/mulle-core)
131127
132128
target_link_libraries( ${PROJECT_NAME} PUBLIC MulleObjC)
133129
target_link_libraries( ${PROJECT_NAME} PUBLIC mulle-objc-debug)
134130
target_link_libraries( ${PROJECT_NAME} PUBLIC mulle-objc-runtime)
135-
target_link_libraries( ${PROJECT_NAME} PUBLIC mulle-core)
136131
```
137132

138133

139134
## Install
140135

141-
### Install with mulle-sde
142-
143136
Use [mulle-sde](//github.com/mulle-sde) to build and install MulleObjC and all dependencies:
144137

145138
``` sh
146139
mulle-sde install --prefix /usr/local \
147140
https://github.com/mulle-objc/MulleObjC/archive/latest.tar.gz
148141
```
149142

150-
### Manual Installation
143+
### Legacy Installation
144+
145+
146+
#### Requirements
147+
148+
Install all requirements
149+
150+
| Requirements | Description
151+
|----------------------------------------------|-----------------------
152+
| [mulle-objc-runtime](https://github.com/mulle-objc/mulle-objc-runtime) | ⏩ A fast, portable Objective-C runtime written 100% in C11
153+
| [mulle-objc-debug](https://github.com/mulle-objc/mulle-objc-debug) | 🐞 Debug support for the mulle-objc-runtime
154+
| [mulle-objc-cc](https://github.com/mulle-cc/mulle-objc-cc) | ⏩ make mulle-clang the default Objective-C compiler
155+
| [mulle-objc-list](https://github.com/mulle-objc/mulle-objc-list) | 📒 Lists mulle-objc runtime information contained in executables.
156+
157+
#### Download & Install
158+
159+
160+
Download the latest [tar](https://github.com/mulle-objc/MulleObjC/archive/refs/tags/latest.tar.gz) or [zip](https://github.com/mulle-objc/MulleObjC/archive/refs/tags/latest.zip) archive and unpack it.
151161

152-
Install the [Requirements](#Requirements) and then
153-
install **MulleObjC** with [cmake](https://cmake.org):
162+
Install **MulleObjC** into `/usr/local` with [cmake](https://cmake.org):
154163

155164
``` sh
156-
cmake -B build \
157-
-DCMAKE_INSTALL_PREFIX=/usr/local \
158-
-DCMAKE_PREFIX_PATH=/usr/local \
165+
PREFIX_DIR="/usr/local"
166+
cmake -B build \
167+
-DMULLE_SDK_PATH="${PREFIX_DIR}" \
168+
-DCMAKE_INSTALL_PREFIX="${PREFIX_DIR}" \
169+
-DCMAKE_PREFIX_PATH="${PREFIX_DIR}" \
159170
-DCMAKE_BUILD_TYPE=Release &&
160171
cmake --build build --config Release &&
161172
cmake --install build --config Release

src/class/NSAutoreleasePool.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ static inline void NSPopAutoreleasePool( NSAutoreleasePool *pool)
209209

210210

211211
// the compiler will inline this directly
212-
MULLE_C_STATIC_ALWAYS_INLINEid NSAutoreleaseObject( id obj)
212+
MULLE_C_STATIC_ALWAYS_INLINE
213+
id NSAutoreleaseObject( id obj)
213214
{
214215
if( obj)
215216
_MulleObjCAutoreleaseObject( obj);

0 commit comments

Comments
 (0)