Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vincent Wei
harfbuzz
Commits
550a70f8
Commit
550a70f8
authored
6 years ago
by
Behdad Esfahbod
Browse files
Options
Download
Email Patches
Plain Diff
Use 0 as inert object reference value instead of -1
Towards using Null object for nil objects.
parent
dcd1b07e
master
arabic-table-x
bot-check
coverity_scan
decltype
inttype-constructors
iter
metrics
rand
rvalue-reference
test-str-literal-constness
typename-outside-template
use-sinhala
var-subset
2.3.1
2.3.0
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.9.0
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.7
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/hb-object-private.hh
+1
-1
src/hb-object-private.hh
with
1 addition
and
1 deletion
+1
-1
src/hb-object-private.hh
View file @
550a70f8
...
...
@@ -41,7 +41,7 @@
/* reference_count */
#define HB_REFERENCE_COUNT_INERT_VALUE
-1
#define HB_REFERENCE_COUNT_INERT_VALUE
0
#define HB_REFERENCE_COUNT_POISON_VALUE -0x0000DEAD
#define HB_REFERENCE_COUNT_INIT {HB_ATOMIC_INT_INIT(HB_REFERENCE_COUNT_INERT_VALUE)}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help