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
import ctypes | |
# find the library. for osx this is .dylib, for linux .so, for windows .dll | |
# path should be an absolute path to where the library was compiled and installed | |
libcorrect = ctypes.CDLL('/usr/local/lib/libcorrect.dylib') | |
# tell ctypes about the functions in our library | |
create = libcorrect.correct_convolutional_create | |
create.argtypes = [ctypes.c_size_t, ctypes.c_size_t, ctypes.c_void_p] | |
create.restype = ctypes.c_void_p |
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
LINK 800 | |
COPY 1 T | |
MARK BRANCH | |
COPY 1 X | |
REPL NEXT | |
COPY 3 X | |
REPL NEXT | |
COPY -1 X | |
REPL NEXT |
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
import Foundation | |
/** | |
* Foo configuration | |
* | |
* These options configure a Foo instance | |
* | |
*/ | |
open class Foo : NSObject { |
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
#import <Foundation/Foundation.h> | |
NS_ASSUME_NONNULL_BEGIN | |
/** | |
* Foo configuration | |
* | |
* These options configure a Foo instance | |
* | |
*/ |
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
key.request: source.request.editor.open.interface.header | |
key.name: "1F3F8533-DD3F-4B63-8B4F-80BA94CCF3CA" | |
key.filepath: "/Users/username/code/Project/Foo.h" | |
key.compilerargs: | |
- "-x" | |
- "objective-c" | |
- "/Users/username/code/Project/Foo.h" | |
- "-isysroot" | |
- "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk" |
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
{ | |
"audible": { | |
"checksum_scheme": "crc32", | |
"inner_fec_scheme": "v27", | |
"outer_fec_scheme": "none", | |
"mod_scheme": "gmsk", | |
"frame_length": 25, | |
"modulation": { | |
"center_frequency": 4200, | |
"gain": 0.15 |