[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
java_invoke deprecated in favor of javaMethod
From: |
Rik |
Subject: |
java_invoke deprecated in favor of javaMethod |
Date: |
Fri, 14 Dec 2012 09:58:17 -0800 |
12/14/12
All,
java_invoke has been deprecated to adhere more closely to the Matlab Java
Interface.
A short one-liner to update legacy code to the new calling convention is
perl -i.bak -pe 's/java_invoke\s*\(\s*([^,]*),\s*([^,)]*)/javaMethod ($2,
$1/' FILE_NAMES
I didn't say it was pretty, just that it was one line.
--Rik
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- java_invoke deprecated in favor of javaMethod,
Rik <=