Wiki

Ticket #270 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

Allow cobra to support P/Invoke

Reported by: hopscc Owned by: Chuck
Priority: medium Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

(on providing platforms)
This is a combination of an Attribute on a method and allowing it to be declared external and shared.
Mostly already there, just needs some cleanup.

see  Discussion Topic P/Invoke

Attachments

pinvoke.patch Download (4.5 KB) - added by hopscc 7 years ago.

Change History

Changed 7 years ago by hopscc

Changed 7 years ago by hopscc

  • owner changed from hopscc to Chuck
  • status changed from new to assigned

patch for P/Invoke - allows methods declared extern, no method body.
2 tests for this (thx torial).

Changed 7 years ago by Charles

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in changeset:2475 and changeset:2476. The use of the DllImport attribute implies extern.

Note: See TracTickets for help on using tickets.