Skip to content

Commit

Permalink
Merge pull request #60 from yuyichao/0.6
Browse files Browse the repository at this point in the history
Fix 0.6 typealias depwarn
  • Loading branch information
yuyichao committed Feb 17, 2017
2 parents f71996a + 0a4b412 commit 8548f61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/7_21_HypergeometricFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

export hypergeom, hypergeom_e

typealias hypergeom_input Union{Float64, Vector{Float64}, Vector{Union{}}}
const hypergeom_input = Union{Float64, Vector{Float64}, Vector{Union{}}}

#A convenience function to wrap the most common hypergeometric functions
function hypergeom(a::hypergeom_input, b::hypergeom_input, x::Float64)
Expand Down
2 changes: 1 addition & 1 deletion src/__FILELIST.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type gsl_interp_accel; end
type gsl_interp_type; end
type gsl_min_fminimizer; end
type gsl_min_fminimizer_type; end
typealias gsl_mode_t Cint
const gsl_mode_t = Cint
type gsl_monte_miser_params; end
type gsl_monte_miser_state; end
type gsl_monte_plain_state; end
Expand Down
2 changes: 1 addition & 1 deletion util/makewrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def write_wrapper(filename, WhatToParse, unknown_handler="report", dowrite=True)
for unknown in sorted(list(set(all_unknowns))):
f.write('type '+unknown.replace(' ','')+'; end\n')
#Generate pointer types if needed
#f.write('typealias '+'p'+unknown+' Ptr{'+unknown+'}\n')
#f.write('const '+'p'+unknown+' = Ptr{'+unknown+'}\n')

f.write('\n\n#Automatically generated include list\n')
#f.write('\n\n'.join(['\nprintln("'+x+'")\ninclude("'+x+'")' for x in filenames]))
Expand Down

0 comments on commit 8548f61

Please sign in to comment.