language-interoperability Questions
8
Solved
I would like to write applications that use C++ and the Cocoa frameworks because Apple is not making Carbon 64-bit capable. C++ seems to be pretty vanilla in its implementation on Linux and Windows...
Corinecorinna asked 8/2, 2009 at 12:18
5
I've got a project using the Swift generated Bridging Header and have the project set up correctly (no spaces in Names, Uses Modules, pre-declaring Swift classes in my .mm file, Deleting derived da...
Woodenhead asked 26/3, 2015 at 18:16
13
Solved
I heard some people program in multiple languages in one project. I can't imagine how the languages interact with each other.
I mean there is no Java method like
myProgram.callCfunction(paramete...
Conglomeration asked 11/3, 2009 at 23:57
25
Solved
In Prototype I can show a "loading..." image with this code:
var myAjax = new Ajax.Request( url, {method: 'get', parameters: pars,
onLoading: showLoad, onComplete: showResponse} );
function show...
Cleanup asked 16/9, 2008 at 1:18
2
I am working with a legacy Fortran library that requires a character scalar PATH as an argument to the subroutine. The original interface was:
SUBROUTINE MINIMAL(VAR1, ..., PATH)
CHARACTER (LEN=40...
Crackdown asked 19/8, 2021 at 0:11
9
Solved
I am writting a Python script and I am running out of time. I need to do some things that I know pretty well in bash, so I just wonder how can I embed some bash lines into a Python script.
Thanks
...
Cruzcruzado asked 16/4, 2010 at 9:29
2
Solved
I'd like to learn D, but I haven't understood well an important thing.
How's the current interoperability status between C++ and D?
I'm sure it's impossible to link to C++ compiled binaries, as ...
Whisky asked 27/11, 2018 at 20:41
13
I need to call a Python function from MATLAB. how can I do this?
Natalyanataniel asked 10/11, 2009 at 12:57
1
Solved
I have an Objective-C header that has to be used by a Swift class. However, this header has to use the Swift.h file for an enum declared in a Swift file. In other words, the setup is as follows:
M...
Irrecoverable asked 22/3, 2018 at 4:20
2
Solved
I'm trying to extend an Objective-C class in Swift and make it conform to the Equatable protocol. This requires to access some private members of the extended class, which the compiler doesn't let ...
Sportswoman asked 26/10, 2014 at 12:20
2
Solved
I have an Objective-C class (that happens to be a button, but that is not important), and at another part of my (mixed language) project, I have an array of these buttons and I'd like to get the in...
Marko asked 19/6, 2015 at 2:31
3
Solved
Right now I'm getting familiar with C and the C standard library and I wonder if my knowledge in this area will be useful when I turn to working with C++ at a later time.
Therefore I'd like to kno...
Fitting asked 16/12, 2015 at 9:3
1
Solved
Can somebody tell me how should I unit-test extension functions in Kotlin? Since they are resolved statically should they be tested as static method calls or as non static ? Also since language is ...
Fennessy asked 21/2, 2017 at 22:46
1
Solved
I have been given Objective C code and I need to add extra functionalities to it. I am very unfamiliar with Objective C so doing the most I possibly could on Swift would be very optimal for me.
Th...
Hexagram asked 29/8, 2016 at 21:44
1
Solved
I've come across a strange issue related to Swift/Objective-C interoperability. The case is this:
I have an @objc public class GKDistance:NSObject,NSCoding,Comparable written in Swift. In order to...
Monopolist asked 7/6, 2016 at 14:28
8
Solved
As i know CORBA is used to maintain interoperability in distributed systems by acting in middle.
What i want to know is, is CORBA a language which has its own syntax of coding or do we code in CO...
Grecian asked 17/7, 2011 at 9:3
8
Solved
If you take an existing C code base and compile it with a C++ compiler, what sort of issues can you expect to crop up? For example, I think that assigning an integer to an value with an enumerated ...
Impassioned asked 14/5, 2009 at 4:14
1
Solved
I started writing an application in Python, but I now want to switch to C# and UWP. I know that you cannot write a UWP app in Python, but I am trying to see if I can write some code in Python and a...
Figureground asked 31/10, 2015 at 23:7
1
Solved
Why protocols property is translated as [AnyObject] in swift, not as [P]
@protocol P;
@class C;
@interface TestGenerics: NSObject
@property NSArray<C*>* classes;
@property NSArray<P>...
Sawyers asked 17/9, 2015 at 19:18
1
Solved
I've a Go function that wraps the proc_name(pid,...) function from lib_proc.h.
This is the complete C prototype:
int proc_name(int pid, void * buffer, uint32_t buffersize) __OSX_AVAILABLE_STARTI...
Inappetence asked 27/5, 2015 at 11:34
3
Solved
I have an Akka application with actors written in Scala and others in Java. In one case a Scala Actor writes an Array[Byte] and I need to deserialize this from a Java Actor. In this use-case I ulti...
Anselmi asked 13/3, 2014 at 13:42
2
Solved
I'm trying to interact with an old C terminal app from Swift. I've successfully integrated the source code and bridged the headers from C to Swift. The code compiles and runs from Xcode 6.3 beta. I...
Karinkarina asked 6/4, 2015 at 10:9
4
I'm trying to use the SPARK particle system in OpenTK.
my project contains the header files in folders, with just two header files which only includes the others, and the folders contain the source...
Gonsalez asked 18/11, 2014 at 2:30
0
I roughly have the following situation. I have a C++ function which is called from Fortran code and takes a function pointer and a void pointer as arguments like this
int STDCALL FORTRAN_NAME(CPPF...
Gabionade asked 19/12, 2014 at 10:16
6
Solved
I have a python program, which runs on the CPython implementation, and inside it I must call a function defined in a java program. How can I do this?
It would be nice to be able to use some java o...
Remember asked 13/1, 2009 at 10:49
1 Next >
© 2022 - 2024 — McMap. All rights reserved.