Skip to content

Commit

Permalink
Move Vec
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy E Kozdon committed Jul 16, 2021
1 parent 08f66f9 commit f8c78db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions gen/generator.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ printer_blacklist = [
#
"PetscOptions", "_n_PetscOptions",
"PetscViewer", "_p_PetscViewer",
"Vec", "_p_Vec",
#
# Remove types defined in const.jl
#
Expand Down
1 change: 1 addition & 0 deletions gen/prologue.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ const MPI_REPLACE = MPI.MPI_REPLACE
# We know these will be Cvoid, so just set them to be that
const PetscOptions = Ptr{Cvoid}
const PetscViewer = Ptr{Cvoid}
const Vec = Ptr{Cvoid}
5 changes: 1 addition & 4 deletions lib/petsc_library.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const MPI_REPLACE = MPI.MPI_REPLACE
# We know these will be Cvoid, so just set them to be that
const PetscOptions = Ptr{Cvoid}
const PetscViewer = Ptr{Cvoid}
const Vec = Ptr{Cvoid}

const __darwin_off_t = Int64

Expand Down Expand Up @@ -12782,10 +12783,6 @@ end
)
end

mutable struct _p_Vec end

const Vec = Ptr{_p_Vec}

@enum ScatterMode::UInt32 begin
SCATTER_FORWARD = 0
SCATTER_REVERSE = 1
Expand Down

0 comments on commit f8c78db

Please sign in to comment.