blob: 240d73789d3ccdb955952d636900c170ae076460 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/**
* @fileoverview a set of wrapped primitives
* @private
*/
module.exports = {};
var types = require('./types');
var Registry = require('./registry');
for (var typeName in types) {
if (types.hasOwnProperty(typeName)) {
var type = types[typeName];
if (typeof type === 'object') { // Do not export functions.
module.exports[typeName] = Registry.lookupOrCreateConstructor(type);
}
}
}