Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix compiler error taking the address of a temporary object

  • Loading branch information...
commit 7a8b5f01f09d380ae55f69ba135c97760694d970 1 parent 1e6ff44
@codeboost authored
Showing with 9 additions and 223 deletions.
  1. +0 −221 npm-debug.log
  2. +9 −2 src/classconvert.coffee
View
221 npm-debug.log
@@ -1,221 +0,0 @@
-info it worked if it ends with ok
-verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'publish' ]
-info using npm@1.1.0-beta-4
-info using node@v0.7.0
-verbose config file /Users/florin/.npmrc
-verbose config file /usr/local/etc/npmrc
-verbose config file /usr/local/lib/node_modules/npm/npmrc
-verbose publish [ '.' ]
-verbose caching /Users/florin/Sites/bea2/package.json
-verbose loadDefaults Bea@0.2.0
-info prepublish Bea@0.2.0
-verbose cache add [ '.', null ]
-silly cache add: name, spec, args [ undefined, '.', [ '.', null ] ]
-verbose parsed url { pathname: '.', path: '.', href: '.' }
-verbose caching package.json
-verbose loadDefaults Bea@0.2.0
-verbose pack /Users/florin/Sites/bea2
-verbose pack /Users/florin/Sites/bea2 /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/tmp.tgz
-silly makeList /Users/florin/Sites/bea2
-silly dir, dirLen [ '/Users/florin/Sites/bea2', 25 ]
-verbose tarball /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/tmp.tgz
-verbose parent /Users/florin/Sites/bea2
-verbose mkdir (expected) error ENOENT, no such file or directory '/var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm'
-verbose mkdir done: /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm 755
-verbose unpack_ uid, gid [ undefined, undefined ]
-verbose unpackTarget /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package
-silly gunzTarPerm modes [ '755', '644' ]
-silly afterUntar undefined
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/.npmignore
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/bea.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/compile.sh
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/DOCUMENTATION.md
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/package.json
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/README.md
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/bin
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/bin/bea
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/cpp
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/cpp/bea.h
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/cpp/beascript.cpp
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/cpp/beascript.h
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/cpp/README.md
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/bealoader.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/beaparser.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/beaproc.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/beatemplate.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/beautils.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/classconvert.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/codeblock.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/makedoc.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/mgr.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/recursiveparser.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/snippets.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/typetest.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/src/utest.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/.npmignore
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/bea.sh
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/hello.h
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/hellojs.bea
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/helloJS.cpp
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/helloJS.h
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/loader.js
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/main.cpp
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/README.md
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/SConstruct
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/test.js
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/hello/underscore.js
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/.npmignore
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/addon.cc
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/bea.sh
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/hello.h
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/hellojs.bea
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/helloJS.cpp
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/helloJS.h
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/test.coffee
-silly asyncMap in gTP /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2/examples/node/wscript
-silly chmod bea 755
-silly chmod bea.sh 755
-verbose gunzed /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2
-verbose rm'ed /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package
-verbose renamed [ '/var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/___package.npm/bea2',
-verbose renamed '/var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package' ]
-verbose caching /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package/package.json
-verbose loadDefaults Bea@0.2.0
-verbose tarball contents [ 'package', 'tmp.tgz' ]
-verbose from cache /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package/package.json
-verbose pack /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package
-verbose pack /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package /Users/florin/.npm/Bea/0.2.0/package.tgz
-silly makeList /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package
-silly dir, dirLen [ '/var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package',
-silly dir, dirLen 108 ]
-verbose tarball /Users/florin/.npm/Bea/0.2.0/package.tgz
-verbose parent /var/folders/2b/3ntd4jl124b4sdpy4hvnqqn00000gn/T/npm-1340531095807/1340531095807-0.2165278650354594/package
-verbose mkdir (expected) error ENOENT, no such file or directory '/Users/florin/.npm/Bea/0.2.0/___package.npm'
-verbose mkdir done: /Users/florin/.npm/Bea/0.2.0/___package.npm 755
-verbose unpack_ uid, gid [ undefined, undefined ]
-verbose unpackTarget /Users/florin/.npm/Bea/0.2.0/package
-silly gunzTarPerm modes [ '755', '644' ]
-silly afterUntar undefined
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/.npmignore
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/bea.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/compile.sh
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/DOCUMENTATION.md
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/package.json
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/README.md
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/bin
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/bin/bea
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/cpp
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/cpp/bea.h
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/cpp/beascript.cpp
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/cpp/beascript.h
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/cpp/README.md
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/bealoader.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/beaparser.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/beaproc.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/beatemplate.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/beautils.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/classconvert.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/codeblock.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/makedoc.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/mgr.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/recursiveparser.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/snippets.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/typetest.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/src/utest.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/.npmignore
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/bea.sh
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/hello.h
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/hellojs.bea
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/helloJS.cpp
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/helloJS.h
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/loader.js
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/main.cpp
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/README.md
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/SConstruct
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/test.js
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/hello/underscore.js
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/.npmignore
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/addon.cc
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/bea.sh
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/hello.h
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/hellojs.bea
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/helloJS.cpp
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/helloJS.h
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/test.coffee
-silly asyncMap in gTP /Users/florin/.npm/Bea/0.2.0/___package.npm/package/examples/node/wscript
-verbose gunzed /Users/florin/.npm/Bea/0.2.0/___package.npm/package
-verbose rm'ed /Users/florin/.npm/Bea/0.2.0/package
-verbose renamed [ '/Users/florin/.npm/Bea/0.2.0/___package.npm/package',
-verbose renamed '/Users/florin/.npm/Bea/0.2.0/package' ]
-verbose caching /Users/florin/.npm/Bea/0.2.0/package/package.json
-verbose loadDefaults Bea@0.2.0
-silly updated sha bytes 40960
-silly updated sha bytes 5724
-info shasum fbf43bd99437bcf1b758d5e338c91bb849a8bbb9
-info shasum /Users/florin/.npm/Bea/0.2.0/package.tgz
-verbose from cache /Users/florin/.npm/Bea/0.2.0/package/package.json
-verbose chmod /Users/florin/.npm/Bea/0.2.0/package.tgz 644
-verbose chown [ '/Users/florin/.npm/Bea/0.2.0/package.tgz', 501, 20 ]
-silly publish { name: 'Bea',
-silly publish version: '0.2.0',
-silly publish keywords:
-silly publish [ 'javascript',
-silly publish 'c++',
-silly publish 'module',
-silly publish 'bea',
-silly publish 'converter',
-silly publish 'generator',
-silly publish 'library' ],
-silly publish dependencies: { underscore: '*', argsparser: '*', 'coffee-script': '1.3.3' },
-silly publish main: './bea',
-silly publish bin: { bea: './bin/bea' },
-silly publish _npmUser: { name: 'codeboost', email: 'florin@libertv.ro' },
-silly publish _id: 'Bea@0.2.0',
-silly publish devDependencies: {},
-silly publish engines: { node: '*' },
-silly publish _engineSupported: true,
-silly publish _npmVersion: '1.1.0-beta-4',
-silly publish _nodeVersion: 'v0.7.0',
-silly publish _defaultsLoaded: true,
-silly publish dist:
-silly publish { shasum: 'fbf43bd99437bcf1b758d5e338c91bb849a8bbb9',
-silly publish tarball: 'http://registry.npmjs.org/Bea/-/Bea-0.2.0.tgz' } }
-verbose raw, before any munging Bea
-verbose url resolving [ 'https://registry.npmjs.org/', './Bea' ]
-verbose url resolved https://registry.npmjs.org/Bea
-http PUT https://registry.npmjs.org/Bea
-http 403 https://registry.npmjs.org/Bea
-ERR! Failed PUT response 403
-ERR! Error: forbidden New packages must have all-lowercase names: Bea
-ERR! at Request._callback (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:182:12)
-ERR! at Request.callback (/usr/local/lib/node_modules/npm/node_modules/request/main.js:104:22)
-ERR! at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/main.js:450:18)
-ERR! at Request.emit (events.js:67:17)
-ERR! at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/main.js:404:16)
-ERR! at IncomingMessage.emit (events.js:88:20)
-ERR! at HTTPParser.onMessageComplete (http.js:152:25)
-ERR! at CleartextStream.ondata (http.js:1196:24)
-ERR! at CleartextStream._push (tls.js:363:27)
-ERR! at SecurePair.cycle (tls.js:684:20)
-ERR! Report this *entire* log at:
-ERR! <http://github.com/isaacs/npm/issues>
-ERR! or email it to:
-ERR! <npm-@googlegroups.com>
-ERR!
-ERR! System Darwin 11.4.0
-ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
-ERR! cwd /Users/florin/Sites/bea2
-ERR! node -v v0.7.0
-ERR! npm -v 1.1.0-beta-4
-ERR! message forbidden New packages must have all-lowercase names: Bea
-verbose exit [ 1, true ]
View
11 src/classconvert.coffee
@@ -554,13 +554,20 @@ class ClassConverter
#type manager attempts to see if the value looks like a known (user-defined) type constructor
#returns the known type or false
argType = @typeManager.typeFromValue argv
+ retBlock = ""
if argType
if argv.indexOf("::") == -1
argv = argType.namespace + '::' + argv
if argType.wrapped and not arg.type.isPointer
- argv = '&' + argv
+ #This was hacked in with brute force
+ #TODO: check again if this is the right way to do it
+ #cv::Mat* mask = bea::Optional<cv::Mat*>::FromJS(args, 1, &Mat()); --> compiler error: error: taking the address of a temporary object of type 'cv::Mat'
+ #If there are two+ default arguments, this will fail, because _t will be declared twice+. TODO: fix it
+ retBlock = "#{arg.type.rawType} _t = " + argv + ";\n"
+ argv = "&_t";
- return "#{nativeType} #{arg.name} = " + snippets.Optional nativeType, narg, argv
+
+ return retBlock + "#{nativeType} #{arg.name} = " + snippets.Optional nativeType, narg, argv
#Generates the if clause for a type check used to determine which overload to call
typeif: (args) ->
Please sign in to comment.
Something went wrong with that request. Please try again.