Skip to content

Commit

Permalink
Moved CAccessors where it belongs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yahweasel committed Jan 31, 2025
1 parent 99764c1 commit c32e151
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/p-avformat.in.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,6 @@ streamWriterFS.createNode = function() {
return node;
};

/* Original versions of all our functions, since the Module version is replaced
* if we're a Worker */
var CAccessors = {};

// Filesystem
function fsBinding(of) {
Module[of] = function() {
Expand Down
4 changes: 4 additions & 0 deletions src/post.in.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ var ERRNO_CODES = {
ESPIPE: 29
};

/* Original versions of all our functions, since the Module version is replaced
* if we're a Worker */
var CAccessors = {};

/**
* Allocate and copy in a 32-bit int list.
* @param list List of numbers to copy in
Expand Down

0 comments on commit c32e151

Please sign in to comment.