Skip to content

Commit

Permalink
Fix HTYPE definitions for web UI debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
svaarala committed Dec 12, 2016
1 parent 54aa674 commit d82bde8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions debugger/duk_debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ debugCommandNames.forEach(function (k, i) {
});

// Duktape heaphdr type constants, must match C headers
var DUK_HTYPE_STRING = 1;
var DUK_HTYPE_OBJECT = 2;
var DUK_HTYPE_BUFFER = 3;
var DUK_HTYPE_STRING = 0;
var DUK_HTYPE_OBJECT = 1;
var DUK_HTYPE_BUFFER = 2;

// Duktape internal class numbers, must match C headers
var dukClassNameMeta = yaml.load('duk_classnames.yaml');
Expand Down

0 comments on commit d82bde8

Please sign in to comment.