-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for 32 and 64-bit Linux build.
Some minor changes made still need to be validated, on Windows.
1 parent
96790f2
commit d0f6863
Showing
7 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,5 +64,5 @@ class MyTx : public AmiTx { | |
} | ||
} my_tx; | ||
|
||
extern AMIModel *ami_model = &my_tx; | ||
AMIModel *ami_model = &my_tx; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
VERSION { | ||
DEFAULT { | ||
global: | ||
AMI_Init; | ||
AMI_Close; | ||
local: | ||
*; | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#! /usr/bin/env python | ||
# A quick test of the ibisami example Tx model. | ||
# | ||
# Original author: David Banas | ||
# Original date: May 18, 2015 | ||
# | ||
# Copyright (c) 2015 David Banas; all rights reserved World wide. | ||
|
||
import pyibisami.amimodel as ami | ||
|
||
gDLLName = './example_tx_x86_amd64.so' | ||
|
||
the_model = ami.AMIModel(gDLLName) | ||
init_data = ami.AMIModelInitializer({'root_name': "exampleTx"}) | ||
the_model.initialize(init_data) | ||
|
||
print "Model returned message:", the_model.msg | ||
print "Model returned parameters:", the_model.ami_params_out | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters