Ticket #93 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

static array creation

Reported by: robertwb Owned by: somebody
Priority: major Milestone: 0.10
Component: Parsing Keywords:
Cc:

Description

One should be able to do

cdef double a[] = [0.5, 0.3, 0.1, 0.1]

or even

cdef foo(double*):
    pass

foo([1,2,3])

Note that this would only work for literal lists, to avoid allocation issues

Change History

Changed 4 years ago by robertwb

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from wishlist to 0.9.8.2

Changed 4 years ago by robertwb

  • component changed from Code Generation to Parsing
Note: See TracTickets for help on using tickets.